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 http://www.rubyonrails.org/down

Ruby

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

RubyGems

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

Rails

sudo gem install rails –include-dependencies

Test installation

rails railstest/
cd railstest/
ruby script/server

Point your browser at http://127.0.0.1:3000

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.