As noted on the previous post, I’m sticking with Ruby 1.8.5 fo QA Sites until I get a convincing argument to upgrade manually — meaning a custom compile. I should really learn how to build RPMs.
Ruby 1.8.5-5.el5_2.3
- official CentOS 5 rpm:
yum install ruby ruby-devel ruby-irb ruby-ri ruby-libs ruby-docs ruby-rdoc
RubyGems 1.1.1
- manual install:
wget http://rubyforge.org/frs/download.php/35283/rubygems-1.1.1.tgz
tar -xvzf rubygems-1.1.1.tgz
cd rubygems-1.1.1
ruby setup.rb
Rails 2.0.2
- gem install rails -v=2.0.2
Rake 0.8.1
- installed with Rails
Rspec 1.1.4
- gem install rspec
ZenTest 3.10.0
- gem install ZenTest
test-unit 2.0.2
- gem install test-unit
Capistrano 2.4.3
- gem install capistrano
MySQL 5.0
- database version 5.0.45-7.el5*:
yum install mysql mysql-devel mysql-server
- ruby mysql drivers version 2.7:
gem install mysql — –with-mysql-lib=/usr/lib/mysql/ –with-myse=/usr/include/mysql/
PostgreSQL 8.1
- database version 8.1.11-1.el5_1.1:
yum install postgresql postgresql-devel postgresql-server postgresql-libs - ruby drivers 0.7.9.2008.03.18:
gem install pgI had trouble installing databases drivers on Windows
using the older postgres drivers helped, but I think I had to specify the directory:
gem install postgres
SQLite 3.6.1
- yum install sqlite sqlite-devel (3.3.6-2)
- gem install sqlite3-ruby
- Windows needs the SQLite dll as well as the exe. They need to both be in the PATH environment variable.
# gem list –local
*** LOCAL GEMS ***
actionmailer (2.0.2)
actionpack (2.0.2)
activerecord (2.0.2)
activeresource (2.0.2)
activesupport (2.0.2)
hoe (1.7.0)
mysql (2.7)
pg (0.7.9.2008.03.18)
rails (2.0.2)
rake (0.8.1)
rspec (1.1.4)
rubyforge (1.0.0)
sqlite3-ruby (1.2.2)
test-unit (2.0.0)
ZenTest (3.10.0)