Skip to content

Instantly share code, notes, and snippets.

@masuidrive
Created October 29, 2009 21:41
Show Gist options
  • Save masuidrive/221872 to your computer and use it in GitHub Desktop.
Save masuidrive/221872 to your computer and use it in GitHub Desktop.
yum install gcc zlib-devel rpm-build openssl-devel readline-devel nkf
wget http://futuremix.org/downloads/checkinstall-1.6.1-1.x86_64.rpm
rpm -ivh checkinstall-1.6.1-1.x86_64.rpm
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.bz2
tar xfj ruby-1.8.7-p174.tar.bz2
cd ruby-1.8.7-p174
./configure --prefix=/usr --with-install-readline
make
checkinstall --fstrans=no
rpm -ivh /usr/src/redhat/RPMS/x86_64/ruby-1.8.7-p174-1.x86_64.rpm
wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz
tar xfz rubygems-1.3.5.tgz
cd rubygems-1.3.5
checkinstall -R "ruby setup.rb"
rpm -ivh /usr/src/redhat/RPMS/x86_64/rubygems-1.3.5-1.x86_64.rpm
yum install sqlite-devel
gem install merb datamapper do_sqlite3 --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment