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

« Previous - Version 5/9 (diff) - Next » - Current version
John Goerzen, 2008-03-06 18:33

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.


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

Then proceed to the RedmineInstall instructions.

If you will be running this under FastCGI or some other environment, make sure the GEM_PATH gets passed along.

Thanks to Eric Davis for help with this procedure.