使用Capistrano在Dreamhost上部署Rails 3 [英] Deploying Rails 3 on Dreamhost with Capistrano
问题描述
我有一个使用Ruby 1.8的Dreamhost私有服务器。 7和Rails 3.0.3(根据 http://rails.dreamhosters.com/ )
我遵循Dreamhost的Capistrano设置说明(http://wiki.dreamhost.com/Capistrano)
当我运行cap deploy:migrations我收到这个错误:
[out :: xxx.com]找不到i18n-0.5。 0任何来源
** [out :: xxx.com]尝试运行`bundle install`
我正在考虑在部署时,捆绑安装应该自动运行?
不确定i18n来自哪里,因为我没有添加任何地方。
有没有人经历过这个或有任何经验部署Rails 3到Dreamhost?
您是否需要deploy.rb中的bundler cap任务?
require'bundler / capistrano'
I'm trying to deploy a Rails app using Capistrano (it's my first time using Capistrano).
I have a Dreamhost Private Server which is using Ruby 1.8.7 and Rails 3.0.3 (according to http://rails.dreamhosters.com/)
I've followed Dreamhost's Capistrano setup instructions (http://wiki.dreamhost.com/Capistrano)
When I run "cap deploy:migrations" I get this error:
[out :: xxx.com] Could not find i18n-0.5.0 in any of the sources
** [out :: xxx.com] Try running `bundle install`
Am I right in thinking that when deploying, bundle install should run automatically? Not exactly sure where i18n is coming from either as I haven't added it anywhere.
Has anyone experienced this before or have any experience deploying Rails 3 to Dreamhost?
Have you required the bundler cap tasks in your deploy.rb?
require 'bundler/capistrano'
这篇关于使用Capistrano在Dreamhost上部署Rails 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!