I use passenger in dev as the apache module. When you install
passenger it tells you to copy and paste a couple of lines of code to
your Apache config. Part of that is specifying the Ruby location. I
dont' suppose that is what you're after?

In my /etc/apache2/httpd.conf

LoadModule passenger_module yadda yadda
PassengerRuby /Users/davidamcclain/.rvm/wrappers/ree@climber/ruby

Where 'ree@climber' is the rvm gemset I want to use (ie rvm use
ree@climber)

David


On Mar 9, 4:13 pm, pr0methium <[email protected]> wrote:
> Hi All,
>
> I've spent the last day or so trying to figure something out, but
> figure someone else has probably already run into something similar so
> I'll just ask.
>
> I'm setting up a dev server to test out our Rails 3 app, and I want to
> use the Passenger module for Apache (not the standalone Passenger
> (passenger start)), and still be able to specify which rvm gemset to
> use.
>
> I found the following two links that address similar 
> situations:http://jeremy.wordpress.com/2010/08/19/ruby-rvm-passenger-rails-bundl...http://blog.ninjahideout.com/posts/the-path-to-better-rvm-and-passeng...
>
> However, they both use the rvm gem and not the bash client which I
> use.  I am concerned about having both of them installed, so I don't
> want to use the rvm gem if I can avoid it.
>
> Has anyone setup Passenger to use a specific Ruby and gemset installed
> installed by rvm; without using the rvm gem (bash client instead)?
>
> Thanks!!!
> David

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to