开发者

Installing and running Redmine while having two different Ruby versions installed

We are planning to deploy Redmine on one of our Ubuntu servers. Unfortunately, Redmine wi开发者_如何学运维ll only run with Ruby 1.8 installed. The problem is that our server is already running Ruby 1.9 which is required by several applications.

Two questions:

  1. Can Redmine be set up for using a special Ruby version (i.e., linking two Ruby 1.8 in config file(s))?
  2. In general: Do you see any problems in having two Ruby versions installed on system and linked to /usr/bin ?

Thanks for your time and help, appreciate!

Best wishes, Bionicman


You should use rvm if you want to have multiple rubies installed. rvm

With rvm installed, it is not difficult to run multiple applications on different ruby versions. With one caveat: phusion passenger can only run on one ruby at a time. But if, for example, your existing apps are running on passenger on 1.9.2, you can still run a mongrel for redmine on the same server running 1.8.7. Pretty much everything you need to know is on the page linked, above.


If you want a self contained Redmine installation try our BitNami Redmine stack. It is free all-in-one installer that will do exactly what you want (it bundles its own Ruby runtime, required libraries, etc)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜