Hi..to all yesterday i had learnt to install ruby on rails in ubuntu..
here are the following steps.
Before installing rails make sure ruby is installed in your system.To check whether ruby installed in your system Open terminal and type
$ ruby -v
ruby 1.8.8dev (2012-07-27) [i686-linux]
It shows the version of the installed ruby in your system.If shows error or command not found you have to install ruby by the following command
sudo apt-get install ruby
after installing ruby we have to install gems to install rails
download the latest version of rubygems from rubyforge
after downloading rubygems in .tar or .zip
we have extract that file by the following
tar xzvf rubygems-1.3.2.tgz
sudo ruby setup.rb
now we successfully installed gems in our system.Now we are going to install rails in our system
To install rails type the following command
sudo gem install rails
By default, ruby on rails support sqlite3 under development environment. However, in order to use that, you need to install sqlite and sqlite-ruby gem first.
sudo apt-get install sqlite3
Now we successfully installed rails in our system to check this,Open terminal and type
it shows the version of installed rails in our system.
Thanks to all …