我正在尝试首次运行cap deploy,但出现此错误...

[11.12.13.140] sh -c 'cd /var/www/releases/20120302151641 && bundle install --gemfile /var/www/releases/20120302151641/Gemfile --path /var/www/shared/bundle --deployment --quiet --without development test'
** [out :: 11.12.13.140] Some gems seem to be missing from your vendor/cache directory.
** [out :: 11.12.13.140] Could not find libv8-3.3.10.4 in any of the sources

我的Gemfile上有这个gem 'libv8', '3.3.10.4'
我将我的gem打包在vendor/cache目录中,并且确实有这个gem libv8-3.3.10.4-x86_64-linux
为什么我继续收到此错误?我该如何解决?

最佳答案

在目标机器上执行gem install --version '=3.3.10.4' libv8

关于ruby-on-rails - Rails 3.在任何来源中都找不到libv8-3.3.10.4,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/9535774/

10-13 09:14