Setting up Redmine 0.8 stable on Debian 5, Mysql 5 from s... » 2_install_ruby_gems.sh
1 |
#!/bin/bash
|
---|---|
2 |
cd /opt/
|
3 |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz |
4 |
tar xvf ruby-1.8.7-p72.tar.gz
|
5 |
cd ruby-1.8.7-p72
|
6 |
./configure |
7 |
make |
8 |
make install
|
9 |
|
10 |
cd /opt/
|
11 |
wget wget http://ftp.de.debian.org/debian/pool/main/libg/libgems-ruby/libgems-ruby_1.2.0.orig.tar.gz |
12 |
tar xvf libgems-ruby_1.2.0.orig.tar.gz
|
13 |
cd rubygems-1.2.0/
|
14 |
ruby setup.rb |
15 |
|
16 |
gem install rails -v=2.1.2 |
17 |
|
18 |
gem update --system
|
19 |
gem update --system
|