2 ruby apps on one server with different Ruby versions

379 views Asked by At

I've got server with Linux Red Hat, Ruby 2.2 и Git Lab. Nginx + Passenger is running Git Lab on Ruby 2.2. I need to run Redmine 2.5.2 on Ruby version not higher than 2.1. No RVM installed yet. Please advce, is it possible to install second Ruby 2.0 on same server and make Redmine 2.5.2 work with it? Git Lab must be working too. It's not possible to uninstall anything already installed... Please help me with ths problem.

1

There are 1 answers

0
Hongli On

Yes it is possible. Just set the passenger_ruby directive for Redmine to Ruby 2.0.