Ruby is a new platform for web development that offers many new features that is unique. Here’s steps to install Rails 21 on Ubuntu:

  • First, install Ruby and it’s dependencies…

sudo apt-get install ruby irb rdoc ruby1.8-dev rubygems libopenssl-ruby

  • Now update the gem, by executing:

sudo gem update --system

  • Then remove rubygems, since there may not two ruby games in one installation

sudo apt-get remove rubygems

  • create symbolic link to the latest version of gem manager by executing:

sudo ln -s /usr/bin/gem1.8 /usr/bin/gem

  • Now you can install rails by executing
    sudo gem install rails

Now, you can do rubying on your Ubuntu.

Tags: ,