The best way to deploy both Ruby 1.9.2 and 1.8.7 with RVM and Passenger on the same server

I am looking to deploy two rail projects. One with Ruby 1.8.7 and Rails 2.3.8, and the other with Ruby 1.9.2 and Rails 3.0.1.

I am trying to set up a situation where www.example.com is Ruby 1.9.2 and shop.example.com is Ruby 1.8.7.

What is the best way to install this using Passenger and RVM?

+3
source share
2 answers

There is a blog post explaining what you want people to merge here: http://blog.phusion.nl/2010/09/21/phusion-passenger-running-multiple-ruby-versions/

( , , , )

ruby ​​ apache/nginx, .

+3

rails , freeze ( , ) , vendor/rails.

 rake rails:freeze:edge RELEASE=2.3.8

3.0 .

ruby ​​ . , , . -, , : http://www.sportscomet.com/sports_thread/view/id-26403

+1

Source: https://habr.com/ru/post/1772368/


All Articles