Ruby on Rails on ubuntu 10.04

Category: ,

Use following commands

sudo su
apt-get install build-essential

sudo apt-get install build-essential rails
apt-get install ruby rdoc libopenssl-ruby

Download rubygems-1.3.7.tgz from web and extract that. Then



cd rubygems-1.3.7
ruby setup.rb
ln -s /usr/bin/gem1.8 /usr/local/bin/gem
gem install rails


Then
Install the sqlite3 connector:


sudo apt-get install libsqlite3-dev
sudo gem install sqlite3-ruby


Then follow the link to create your first application using ruby on rails.

Comments (0)

Post a Comment