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 1 rupert thurner
3 1 rupert thurner
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 1 rupert thurner
5 1 rupert thurner
h2. Preparation
6 1 rupert thurner
7 1 rupert thurner
First, as root, run:
8 1 rupert thurner
9 1 rupert thurner
<pre>
10 1 rupert thurner
pkg-get install ruby rake rubygems
11 1 rupert thurner
</pre>
12 1 rupert thurner
13 1 rupert thurner
You'll also want Ruby drivers for you databases, which are in one of these packages:
14 1 rupert thurner
15 1 rupert thurner
* libpgsql-ruby for PostgreSQL
16 1 rupert thurner
* libmysql-ruby
17 1 rupert thurner
* libsqlite3-ruby
18 1 rupert thurner
19 1 rupert thurner
h2. Configure your user environment
20 1 rupert thurner
21 1 rupert thurner
As an individual user, edit your ~/.bashrc file and add a line such as this:
22 1 rupert thurner
23 1 rupert thurner
<pre>
24 1 rupert thurner
export GEM_PATH=$HOME/gems
25 1 rupert thurner
</pre>
26 1 rupert thurner
27 1 rupert thurner
Log out and back on.  Make sure your GEM_PATH is set:
28 1 rupert thurner
29 1 rupert thurner
<pre>
30 1 rupert thurner
echo $GEM_PATH
31 1 rupert thurner
</pre>
32 1 rupert thurner
33 1 rupert thurner
And make the directory for the gems:
34 1 rupert thurner
35 1 rupert thurner
<pre>
36 1 rupert thurner
mkdir ~/gems
37 1 rupert thurner
</pre>
38 1 rupert thurner
39 1 rupert thurner
Now, install rails:
40 1 rupert thurner
41 1 rupert thurner
<pre>
42 1 rupert thurner
gem install -i $GEM_PATH rails -y
43 1 rupert thurner
</pre>
44 1 rupert thurner
45 1 rupert thurner
Then proceed to the [[RedmineInstall]] instructions.
46 1 rupert thurner
47 1 rupert thurner
If you will be running this under FastCGI or some other environment, make sure the GEM_PATH gets passed along.
48 1 rupert thurner
49 1 rupert thurner
_(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 1 rupert thurner
51 1 rupert thurner
Thanks to [[HowTo Install Redmine in a home directory on Debian]] for help with this procedure.