Project

General

Profile

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

John Goerzen, 2008-03-06 18:32

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 3 John Goerzen
<pre>
10
apt-get install ruby rake rubygems
11
</pre>
12 1 John Goerzen
13 2 John Goerzen
h2. Configure your user environment
14
15 1 John Goerzen
As an individual user, edit your ~/.bashrc file and add a line such as this:
16
17 3 John Goerzen
<pre>
18
export GEM_PATH=$HOME/gems
19
</pre>
20 1 John Goerzen
21
Log out and back on.  Make sure your GEM_PATH is set:
22
23 3 John Goerzen
<pre>
24
echo $GEM_PATH
25
</pre>
26 1 John Goerzen
27
And make the directory for the gems:
28 2 John Goerzen
29 3 John Goerzen
<pre>
30
mkdir ~/gems
31
</pre>
32 1 John Goerzen
33 2 John Goerzen
Now, install rails:
34
35 3 John Goerzen
<pre>
36
gem install -i $GEM_PATH rails -y
37
</pre>
38 4 John Goerzen
39
Then proceed to the [[RedmineInstall]] instructions.
40
41
Thanks to Eric Davis for help with this procedure.