HowTo Install Redmine in a home directory on Debian » History » Version 3

« Previous - Version 3/8 (diff) - Next » - Current version
John Goerzen, 2008-03-06 18:27


HowTo Install Redmine in a home directory on Debian

It seems that the version of Rails in Debian does not play well with Redmine. We will therefore use Debian packages for the basic Ruby and rubygems infrastructure, but install the remaining parts in a local home directory.

Preparation

First, as root, run:

apt-get install ruby rake rubygems

Configure your user environment

As an individual user, edit your ~/.bashrc file and add a line such as this:

export GEM_PATH=$HOME/gems

Log out and back on. Make sure your GEM_PATH is set:

echo $GEM_PATH

And make the directory for the gems:

mkdir ~/gems

Now, install rails:

gem install -i $GEM_PATH rails -y