$ passenger-config
/usr/bin/passenger-config:29:in `require': no such file to load -- phusion_passenger (LoadError)
from /usr/bin/passenger-config:29
--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phusion-passen...@googlegroups.com.
To post to this group, send email to phusion-...@googlegroups.com.
Visit this group at http://groups.google.com/group/phusion-passenger.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/2b3060cb-7ff0-43df-bfc9-0ea4752b6b75%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Which version of Passenger 4 do you have installed?
What is your currently active Ruby interpreter? (type 'which ruby')
$ which ruby
/usr/local/bin/ruby
-- Thibaut
You can just define the wrapper path yourself. All passenger-config --ruby-command does is printing the path to the wrapper script.You can also hot patch the passenger commands. Open /usr/bin/passenger-config (and other passenger commands), look for require "phusion_passenger", and change it into require "/usr/lib/ruby/vendor_ruby/phusion_passenger".