Forum: Ruby on Rails My Weird error

A00673345921ae8c2e5570d1bd48b2e2?d=identicon&s=25 J. mp (lerias)
on 2013-07-24 01:45
(Received via mailing list)
Hi,

I'm getting this error while deploying to a dev machine with cap:deploy


executing "cd -- /home/ubuntu/deployments/appreleases/20130723233947 &&
RAILS_ENV=production RAILS_GROUPS=assets rake assets:precompile"
    servers: ["ec2-54-229-75-254.eu-west-1.compute.amazonaws.com"]
    [ec2-54-229-75-254.eu-west-1.compute.amazonaws.com] executing
command
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com] rake
aborted!
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com] Could not
find highline-1.6.19 in any of the sources
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:92:in
`block in materialize'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in
`map!'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/spec_set.rb:85:in
`materialize'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/definition.rb:114:in
`specs'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/definition.rb:159:in
`specs_for'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/definition.rb:148:in
`requested_specs'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/environment.rb:18:in
`requested_specs'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/runtime.rb:13:in
`setup'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler.rb:120:in
`setup'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247@global/gems/bundler-1.3.5/lib/bundler/setup.rb:17:in
`<top (required)>'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/deployments/app/releases/20130723233947/config/boot.rb:4:in
`<top (required)>'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/deployments/app/releases/20130723233947/config/application.rb:1:in
`<top (required)>'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/deployments/app/releases/20130723233947/Rakefile:4:in `<top
(required)>'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in
`eval'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com]
/home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in
`<main>'
*** [err :: ec2-54-229-75-254.eu-west-1.compute.amazonaws.com] (See full
trace by running task with --trace)
    command finished in 1213ms
*** [deploy:update_code] rolling back
  * executing "rm -rf
/home/ubuntu/deployments/app/releases/20130723233947;
true"
    servers: ["ec2-54-229-75-254.eu-west-1.compute.amazonaws.com"]
    [ec2-54-229-75-254.eu-west-1.compute.amazonaws.com] executing
command
    command finished in 790ms
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'default' -c 'cd
--
/home/ubuntu/deployments/app/releases/20130723233947 &&
RAILS_ENV=production RAILS_GROUPS=assets rake assets:precompile'" on
ec2-54-229-75-254.eu-west-1.compute.amazonaws.com


If I run the command
RAILS_ENV=production RAILS_GROUPS=assets rake assets:precompile

by hand, either on local machine and testing machine, it works ok,
Strange
is that I was able to make a deploy a few minutes ago....

What may be the problem?
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.