Project

General

Profile

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

John Goerzen, 2008-03-06 18:25

1 1 John Goerzen
h1. HowTo Install Redmine in a home directory on Debian
2
3 2 John Goerzen
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.
4
5 1 John Goerzen
h2. Preparation
6
7
First, as root, run:
8
9
<code>apt-get install ruby rake rubygems</code>
10
11 2 John Goerzen
h2. Configure your user environment
12
13
As an individual user, edit your ~/.bashrc file and add a line such as this:
14
15
<code>export GEM_PATH=$HOME/gems</code>
16
17
Log out and back on.  Make sure your GEM_PATH is set:
18
19
<code>echo $GEM_PATH</code>
20
21
And make the directory for the gems:
22
23
<code>mkdir ~/gems</code>
24
25
Now, install rails:
26
27
<code>gem install -i $GEM_PATH rails -y</code>