部署 求助,cap deploy 在 assets:clean 的时候报错了

aisensiy · 2013年10月04日 · 最后由 046569 回复于 2013年10月05日 · 2885 次阅读
executing locally: "bundle exec rake assets:clean && bundle exec rake assets:precompile"
/Users/xu/.rvm/rubies/ruby-1.9.3-p392/bin/ruby ruby /Users/xushanchuan/.rvm/gems/ruby-1.9.3-p392/bin/rake assets:clean assets:clean:all RAILS_ENV=production RAILS_GROUPS=assets
/Users/xu/.rvm/rubies/ruby-1.9.3-p392/bin/ruby: No such file or directory -- ruby /Users/xu/.rvm/gems/ruby-1.9.3-p392/bin/rake assets:clean (LoadError)
rake aborted!
Command failed with status (1): [/Users/xu/.rvm/rubies/ruby-1.9.3-...]
/Users/xu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.11/lib/sprockets/assets.rake:12:in `ruby_rake_task'
/Users/xu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.11/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
/Users/xu/.rvm/gems/ruby-1.9.3-p392/gems/actionpack-3.2.11/lib/sprockets/assets.rake:80:in `block (2 levels) in <top (required)>'
/Users/xu/.rvm/gems/ruby-1.9.3-p392/bin/ruby_executable_hooks:14:in `eval'
/Users/xu/.rvm/gems/ruby-1.9.3-p392/bin/ruby_executable_hooks:14:in `<main>'
Tasks: TOP => assets:clean

之前部署木有问题,重装了个机就成这个样子了。然后它的提示 No such file or directory 到底说的是木有哪个呀,我怎么看都有呢...

重装系统后有用rvm修复Ruby环境么?

#1 楼 @046569 是呀 重新安装了 rvm 的

需要 登录 后方可回复, 如果你还没有账号请 注册新账号