Project

General

Profile

Isolating ruby gems for redmine

Added by Angelo Bertolli over 9 years ago

Hi, I was wondering if someone could describe how to isolate the gems for redmine. What I mean is that I will be installing it on CentOS 6, and I will do the standard install for apache+ruby module (yum repository), but when I install redmine 2.6 I'd like for the gems and other dependencies to be installed under /opt along with the redmine software.

Has anyone found a graceful way to do this? I'm guessing that I will just set GEM_HOME and GEM_PATH variables. But which parts of redmine need to be updated to grab the gems from the correct place?