I'm trying to deploy a Rails app on an Apache2 server by using Phusion Passenger. While everything works well locally, I am getting the infamous "Bundler::GemNotFound" error while deploying:
Could not find abstract-1.0.0 in any of the sources (Bundler::GemNotFound)
All my gems are installed in my local home folder. Thus the passenger configuration lines from my Apache2 configuration file are as follows:
LoadModule passenger_module /home/regis/.gem/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /home/regis/.gem/gems/passenger-3.0.7
PassengerRuby /usr/bin/ruby1.8
I understand you would need more information to analyse the issue at hand, but I have no idea on how to diagnose this further.
Try doing bundle install --path vendor/cache
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