HowTo Install Redmine in a home directory on Debian¶
|This page has been archived and is no longer updated.
Please be aware that the information provided on this page may be out of date, or otherwise inaccurate.
The main archive page has a short explanation.
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
You'll also want Ruby drivers for you databases, which are in one of these packages:
- libpgsql-ruby for PostgreSQL
Configure your user environment¶
As an individual user, edit your ~/.bashrc file and add a line such as this:
Log out and back on. Make sure your GEM_PATH is set:
And make the directory for the 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.
step-by-step how to for enabling fastCGI here)
Thanks to Eric Davis for help with this procedure.