Re:RVM and Bundler in Five Seconds
by Bobby_Tables on Friday March 18, 2011 @08:03AM
(#2340110)
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 :)
Re:RVM and Bundler in Five Seconds
by Vitaly on Saturday March 19, 2011 @07:44PM
(#2345071)
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.
You can probably do similar things with unicorn, mongrel, etc, but I'm not sure how those work :)