Skip to main content


Showing posts from January 17, 2012

Installing Ruby on Rails (ROR) in Ubuntu 11.10

Ruby on Rails (ROR) is a very popular framework for developing web applications that uses Ruby language. Here are the steps to install ROR in Ubuntu 11.10. I have referred the contents from the book, "Beginning Rails 3" by "Cloves Carneiro Jr., and Rida Al Barazi".

1. sudo apt-get update
2. sudo apt-get install build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev (Essential Libraries Required to Build Ruby)
3. Created a local directory and use wget to download Ruby. 
  mkdir `/src && cd `/src
4. wget
5. tar -zxvf ruby-1.9.1-p376.tar.gz (Extract the Downloaded Ruby Package)
6. Inside the Extracted Ruby Folder give the following command to Compile and Install Ruby. ./configure && make && sudo make install 7. ruby --version (to check the current ruby version) Eg. ruby 1.9.1p376 (2009-12-07 revision 26041) [i686-linux] 8. Next, make sure the instance of Ruby that the shell i…