CentOS 5.5 で redmine1.0 設置時

下記の環境必要

ruby1.8.7
rubygems-1.3.7
rails2.3.5

install 前、基本 PackageをYUMにて設定

yum install -y gcc
yum -y install zlib zlib-devel curl-devel openssl-devel httpd-devel apr-devel apr-util-devel
yum -y install  mysql-devel 
※ mysql 5.5の場合
yum --disablerepo \* --enablerepo=remi,epel -y install  mysql-devel

Install Ruby 1.8.7 on CentOS 5.5 (gccにてコンパイル設置、repo利用しない)

wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p330.tar.gz
tar xvf ruby-1.8.7-p330.tar.gz
cd ruby-1.8.7-p330
./configure --enable-pthread
make ; make install

rubygems-1.3.7

wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz
cd rubygems-1.3.7.tgz
ruby setup.rb
gem -v

rails2.3.5

gem install -v=2.3.5 rails
gem install mysql