I use RVM in development and it is a great tool, but I am curious.. If passenger can only run "one" ruby what is the advantage of installing RVM in the server? Can you create gemsets?
On Wed, Mar 16, 2011 at 8:13 AM, dsadaka <[email protected]> wrote: > Norbert, > > You can install multiple Ruby stacks on the same machine using RVM. > (Ruby Version Manager) However, to run more than one version of > Passenger, you'll have to fire up another instance of your web server > and use a proxy pass. Excerpt from > http://rvm.beginrescueend.com/integration/passenger/: > > Q: Can I run multiple projects under passenger with each project on a > different ruby version? > > A: Not at this time. Passenger currently only supports running it's > projects under *one* ruby. You can get this behavior using a proxy > pass. > > I'm not sure, however, what the repercussions of running Passenger > under one version of Ruby and a project under another. With an RVM > based installation, Passenger is running in an isolated stack with > it's own gems, etc. The apache config points to that stack. Unless > someone chimes in and shoots it down, I would think it's worth a try. > > Have you looked into RVM? http://rvm.beginrescueend.com/rvm/basics/ > Have you looked into hosting your new site somewhere else? Heroku is > free for smaller sites. If you have a large data requirement you can > use Amazon S3 for about 0.15 / GB / month. > > HTH, > Dan > > On Mar 16, 2:05 am, Norbert Melzer <[email protected]> wrote: > > Hi > > > > I have an app that is in rails 2.3.10 on my server, the author does not > > develop it anymore but changes are forbidden due too licensing. On the > other > > Hand I am a rails 3 app that should run under the same server. > > > > They should have different subdomains, resulting in oldapp.example.comand > > newapp.example.com. But how can I achieve this behavior? > > > > First try was to install rails 2x and 3x side by side but that is > resulting > > in various errormessages flooding my logs in both applications. > > > > Given is Apache 2.2 with an 3 month old passanger, ruby 1.8.x, rails > > versions as stated above. > > > > Is there a way to have the applications work in paralel or have I to > > backport my own app to rails 2? > > > > I have root access to the server it self, but as already said the > > application is not under active developement any more and I cant modify > it > > because of the licensing. Porting it would take way to much time too. > > > > Thanks in advance > > Norbert > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- Jazmin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

