Wednesday, January 5, 2011

[Rails] Re: rvm and phusion passenger

Hi Tom,

If you are or can run passenger 3.x, then you can use passenger-
standalone proxy'd via apache to handle multiple / different ruby/
rails combinations. Check out

http://blog.phusion.nl/2010/09/21/phusion-passenger-running-multiple-ruby-versions/

"One of the questions we've been getting a lot lately is whether it's
possible to run multiple Ruby versions with Phusion Passenger, .... As
of Phusion Passenger 3 you can run all components as Phusion
Passenger.

...

... Passenger Standalone was designed to be able to used in a reverse
proxy environment such as the one demonstrated in this article. Unlike
Mongrel and Thin clusters however you only need a single Phusion
Passenger Standalone instance per web application and thus only a
single address to proxy to. ..."

Jeff

On Jan 5, 4:53 am, Tom Mac <li...@ruby-forum.com> wrote:
> I have two rails applications currently running on systemruby which is
> version 1.8.6. And I am using phusion passenger with apache to run the
> applications. My new requirement is to run one of the applications in
> Ruby1.8.7. For that I have set up 1.8.7 with RVM. But I dont know how to
> modify my existing /etc/httpd/conf/httpd.conf to run one application in
> Ruby1.8.6 (Sytem ruby) and second one in ruby1.8.7 (from RVM). Please
> help me
>
> Thanks
> Tom
>
> --
> Posted viahttp://www.ruby-forum.com/.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate