I'm trying to run cap deploy
for the first time but I get this error...
[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
I have this on my Gemfile gem 'libv8', '3.3.10.4'
I packaged my gems in the vendor/cache directory and I do have this gem libv8-3.3.10.4-x86_64-linux
Why do I keep on getting this error? How can I fix it?
Do gem install --version '=3.3.10.4' libv8
on the target machine.
Are you sure you need packaging? Capistrano does bundle install
for me, so I just did
rm -rf vendor/cache
bundle install
and problem gone because now gems compiled on the target machine.
If you still need packaging see this question for fine-grainded solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With