0

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.

quanta
  • 51,413
  • 19
  • 159
  • 217
David
  • 167
  • 1
  • 1
  • 8

1 Answers1

1

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.

AlexD
  • 8,747
  • 2
  • 29
  • 38