Project

General

Profile

Actions

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.

Preparation

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
  • libmysql-ruby
  • libsqlite3-ruby

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.

step-by-step how to for enabling fastCGI here)

Thanks to Eric Davis for help with this procedure.

Updated by Jan Niggemann (redmine.org team member) almost 10 years ago · 9 revisions locked