Thanks for everyone's help!  It ended up being an insane headache trying to
get it to work cleanly, so I ended up just starting multiple instances of
apache with their own Passenger configuration for each app.  No super
elegant, but wasn't worth anymore time as I'd spent two days trying to get
it to work with one apache configuration unsuccessfuly :)

On Thu, Mar 10, 2011 at 5:14 PM, bradleyland <[email protected]> wrote:

> I do all of the sysadmin work for our team, and I cannot even begin to
> tell you the headaches I've suffered through the Bundler 0.9 -> 1.0
> transition in combination with RVM, rvmrc files, and various Passenger
> upgrades. As things stand today, most of what you'll read is out of
> date. The only consistently maintainable solution I have right now is
> to use the RVM gem. As Neal pointed out, this will let you use
> gemsets, but it won't let you use multiple versions of Ruby using the
> Apache module configuration for Passenger.
>
> Our app is Rails 3 + Ruby 1.9.2. In order to maintain sanity, we
> always keep our dev and master branches on the same version and patch
> level of Ruby. This is pretty easily accomplished using local virtual
> machines for testing. Dan Benjamin has a really nice guide to setting
> up the stack otherwise, and it includes RVM; albeit using the gem (the
> only way to go, IMO). You can find it here:
>
>
> http://hivelogic.com/articles/setup-guide-rails-stack-with-passenger-rvm-bundler-apache-and-mysql-on-ubun
>
> Frankly, the only advantage is the easy upgrades of Ruby and the
> ability to easily roll back. With Bundler, we don't make much use of
> the gemsets feature any more.
>
> On Mar 9, 7: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
>

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

Reply via email to