Rails 3.1上的Capistrano部署/资产失败

Mar*_* M. 5 capistrano ruby-on-rails-3.1 asset-pipeline

我将此行添加load 'deploy/assets'到我的Capfile中以使用Rails 3.1部署资产.

Capistrano走到了这条路线

* executing "cd /home/deploy/armonia/stage/releases/20110928021521 && bundle exec rake RAILS_ENV=stage RAILS_GROUPS=assets assets:precompile"

然后失败了

Could not find multi_json-1.0.3 in any of the sources这很奇怪,因为我bundle show multi_json在部署服务器上运行时发现了gem .

是什么导致这个?

Mar*_* M. 1

通过将捆绑程序更新到 1.0.18 修复了此问题,似乎与此相关https://github.com/capistrano/capistrano/issues/81