5 comments

[ 2.8 ms ] story [ 25.3 ms ] thread
That took me more than five seconds. Maybe I'm a slow reader.
Are people using RVM in production? (like on a VPS) If so, how is that setup?
RVM can generate wrappers for Passenger. So you use a separate gemset for each app on the server, generate wrappers for each gemset, and then in your web server config you pass the right wrapper to each Passenger directive. You can't use more than one Ruby with Passenger, but you can use as many gemsets as you want.

You can probably do similar things with unicorn, mongrel, etc, but I'm not sure how those work :)

for me rvm is the only sensible solution for production. We run mostly on Ubuntu and ruby is really broken on Ubuntu/Debian. We use a custom puppet script to setup the whole environment with rvm/passenger/apache.