I have a rails app running on debian with apache2 + passenger but I get this message from passenger:
Error message:
Could not find rake-10.0.4 in any of the sources (Bundler::GemNotFound)
The strange thing is that rake-10.0.4 seems to be already installed:
> bundle show
Gems included by the bundle:
* ...
* rake (10.0.4)
* ...
Do someone have any idea where does that come from ? Thanks !
I think I've been struggling with this problem - I just posted my solution at:
It sounds like your passenger configuration is pointing to a different version of ruby to the one you are using to run your bundler
Check which ruby version your rvm is using:
$ rvm env --path
Find your passenger.conf
and update PassengerRuby
- you can do this using a config utility provided by passenger
passenger-config --ruby-command
Make sure use use the fully qualified path before passenger-config
(to avoid my frustrating late night mistake )
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.