Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how do you define multiple passengeroot - my gemsets are different so something like this:

PassengerRuby /Users/david/.rvm/wrappers/ruby-1.9.2-p290@rpgweb/ruby
PassengerRuby /Users/david/.rvm/wrappers/ruby-1.9.2-p290@eweds/ruby

And obviously that doens't work. I just put it in httpd.conf.

Is there any way so when it tries to load my localhost A, it iwll use the first gemset and localhost b it will use use the 2nd gemset for passenger?


share|improve this question
up vote 1 down vote accepted

Excerpt from Passenger documentation for PassengerRuby directive:

This option may only occur once, in the global server configuration.

You could use different gemsets per Rails application using .rvmrc. Check rvm documentation Using RVM rubies with Passenger for details.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.