我添加了这一行load 'deploy/assets'
到我的 Capfile 以使用 Rails 3.1 部署资产。
卡皮斯特拉诺到达这条线
* 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
在我的部署服务器上。
是什么原因造成的?
通过将捆绑程序更新到 1.0.18 修复了此问题,似乎与此相关https://github.com/capistrano/capistrano/issues/81 https://github.com/capistrano/capistrano/issues/81
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)