【发布时间】:2011-10-26 16:08:07
【问题描述】:
我正在使用 Ruby on Rails 3.1.0 和 Capistrano gem。正如“使用 Capistrano 进行自动部署”部分的 Bundler official documentation 中所写,我将 require 'bundler/capistrano' 添加到了我的 deploy.rb 文件的顶部。
现在,当我运行 cap deploy:migrations 命令(部署并运行挂起的迁移)时,我收到以下错误:
...
* executing "cd /<my_application_path>/releases/20111026132212 && bundle install --gemfile /<my_application_path>/releases/20111026132212/Gemfile --path /<my_application_path>/shared/bundle --deployment --quiet --without development test"
servers: ["<my_remote_server_IP>"]
[<my_remote_server_IP>] executing command
** [out :: <my_remote_server_IP>] Some gems seem to be missing from your vendor/cache directory.
** [out :: <my_remote_server_IP>] Could not find libv8-3.3.10.2 in any of the sources
command finished in 2554ms
failed: "sh -c 'cd /<my_application_path>/releases/20111026132212 && bundle install --gemfile /<my_application_path>/releases/20111026132212/Gemfile --path /<my_application_path>/shared/bundle --deployment --quiet --without development test'" on <my_remote_server_IP>
我该如何解决这个问题?
注意:这是我在this question之后开始遇到的一个相关问题的具体问题。
【问题讨论】:
-
我也有同样的问题!你设法解决了吗?
标签: ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.1 capistrano