Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing two system() calls to use corresponding FileUtils methods #200

Closed
wants to merge 2 commits into from
Closed

Conversation

bennage
Copy link

@bennage bennage commented Oct 4, 2011

eed92b6 is related to issue #190
bc14e14 simply removed a system() call that seemed to duplicate a FileUtils call just a few lines above it.

I'm not able to test these on OSX.

…rs on Windows 7and duplicated a call just a few lines earlier
…try; this was to fix a deployment issue to GitHub Pages on Windows 7
@fhemberger
Copy link
Contributor

Already fixed bc14e14 in commit fe19c2a, will look at the cp issue.

@jcftang
Copy link
Contributor

jcftang commented Oct 16, 2011

I just tested 82942bd on OSX 10.6 with ruby 1.9.2 and it fails with

cp -r public/* _deploy
rake aborted!
No such file or directory - public/*
/Users/jtang/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1423:in `stat'
/Users/jtang/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1423:in `block in fu_each_src_dest'
/Users/jtang/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1437:in `fu_each_src_dest0'
/Users/jtang/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:1421:in `fu_each_src_dest'
/Users/jtang/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/fileutils.rb:432:in `cp_r'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/file_utils_ext.rb:36:in `cp_r'
/Users/jtang/develop/jcftang.github.com/Rakefile:233:in `block in '
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:205:in `block in execute'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
/Users/jtang/develop/jcftang.github.com/Rakefile:204:in `block in '
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:205:in `call'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:205:in `block in execute'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:200:in `each'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:200:in `execute'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/Users/jtang/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/task.rb:144:in `invoke'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:112:in `invoke_task'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:90:in `block (2 levels) in top_level'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:90:in `each'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:90:in `block in top_level'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:84:in `top_level'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:62:in `block in run'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/bin/rake:32:in `'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `load'
/Users/jtang/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `'
Tasks: TOP => deploy

reverting the commit lets me deploy on OSX, i am running pretty much all the latest gems for this.

@fhemberger fhemberger reopened this Oct 17, 2011
@fhemberger
Copy link
Contributor

@jcftang Woops, sorry. It should work now. Can you please retest?

@jcftang
Copy link
Contributor

jcftang commented Oct 17, 2011

it's working again now, thanks.

@fhemberger fhemberger closed this Oct 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants