Installing Ruby on Ubuntu

These are my experiences of installing Ruby on Ubuntu. I didn’t install the Ubuntu package but went with the source on the Ruby On Rails website. Everything worked fine out of the box, just downloaded the files and followed their instructions (basically the following, in this order.)

Download ruby-1.8.4.tar.gz and rubygems-0.9.0.tgz from the links on


tar xzf ruby-1.8.4.tar.gz
cd ruby-1.8.4
make test
sudo make install


tar xvf rubygems-0.9.0.tgz
cd rubygems
sudo ruby setup.rb


sudo gem install rails –include-dependencies

Test installation

rails railstest/
cd railstest/
ruby script/server

Point your browser at

This entry was posted in Networks, Technology, Work. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Trackback

Post a Comment

You must be logged in to post a comment.