简体   繁体   中英

2 ruby apps on one server with different Ruby versions

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM