使用Capistrano在Dreamhost上部署Rails 3
我正在尝试使用Capistrano部署Rails应用程序(这是我第一次使用Capistrano)。
我有一个使用Ruby 1.8.7和Rails 3.0.3的Dreamhost私有服务器(根据http://rails.dreamhosters.com/ )
我已经按照Dreamhost的Capistrano安装说明(http://wiki.dreamhost.com/Capistrano)
当我运行“cap deploy:migrations”时,我收到此错误:
[out :: xxx.com] Could not find i18n-0.5.0 in any of the sources ** [out :: xxx.com] Try running `bundle install`
我是否认为在部署时,捆绑安装应该自动运行? 不完全确定i18n来自哪里,因为我没有在任何地方添加它。
有没有人经历过这个或者有任何经验将Rails 3部署到Dreamhost?
您是否需要deploy.rb中的bundler cap任务?
require 'bundler/capistrano'