Project

General

Profile

HowTo Install Redmine on Solaris » History » Version 1

rupert thurner, 2010-11-14 22:55

1 1 rupert thurner
h1. HowTo Install Redmine on Solaris
2
3
Easiest is probably to use http://www.opencsw.org solaris packages for the basic Ruby and rubygems infrastructure, and then install the remaining parts in a local home directory.
4
5
h2. Preparation
6
7
First, as root, run:
8
9
<pre>
10
pkg-get install ruby rake rubygems
11
</pre>
12
13
You'll also want Ruby drivers for you databases, which are in one of these packages:
14
15
* libpgsql-ruby for PostgreSQL
16
* libmysql-ruby
17
* libsqlite3-ruby
18
19
h2. Configure your user environment
20
21
As an individual user, edit your ~/.bashrc file and add a line such as this:
22
23
<pre>
24
export GEM_PATH=$HOME/gems
25
</pre>
26
27
Log out and back on.  Make sure your GEM_PATH is set:
28
29
<pre>
30
echo $GEM_PATH
31
</pre>
32
33
And make the directory for the gems:
34
35
<pre>
36
mkdir ~/gems
37
</pre>
38
39
Now, install rails:
40
41
<pre>
42
gem install -i $GEM_PATH rails -y
43
</pre>
44
45
Then proceed to the [[RedmineInstall]] instructions.
46
47
If you will be running this under FastCGI or some other environment, make sure the GEM_PATH gets passed along.
48
49
_(It would be highly valuable to the entire user community if someone were so generous & knowledgeable to post (or link to another post) step-by-step how to for enabling fastCGI here)_
50
51
Thanks to [[HowTo Install Redmine in a home directory on Debian]] for help with this procedure.