
Rails is a full-stack framework for developing web applications
Installation in Ubuntu
The installation is very simple. We have a package called RubyGems.
Simply open a terminal then type
sudo apt-get install ruby irb ri rdoc ruby1.8-dev2.2
for ruby gems
sudo apt-get install rubygems
Now we will install rails with command
sudo gem install rails --include-dependencies
That is all You Have Ruby on Rails
Create a Project in Rails
it is also very simple
type
rails myproject
it will create the rails sytem.
then start the server (Webrick or Mongrel) . For that type
ruby script/server
=> Booting Mongrel
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Then open your browser (firefox) and type http://0.0.0.0:3000
Then get a rails welcome page.
This is your first rails app.
Start Developing ..
Absolutely what I am looking for? I am searching many site for this installation information. At last I got this site through Google.