Archive for June 16th, 2008
Install Ruby
Monday, June 16th, 2008Make sure before installing Ruby, zlib is installed in PHP. You can do this by running a simple script with this code.
<?php phpinfo(); ?>
Now you are ready for installation.
cd /usr/local/src
wget ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.2.tar.gz
tar xvzf ruby-1.8.2.tar.gz
cd ruby-1.8.2
./configure
make
make install
ruby rubytest.rb
If the installaiton is successful, then you will get a message “test succeeded”.
Install Ruby Gems
cd /usr/local/src
wget http://rubyforge.org/frs/download.php/5207/rubygems-0.8.11.tgz
tar xvzf rubygems-0.8.11.tgz
cd rubygems-0.8.11
ruby […]
