Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks.

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.