torsdag 20 december 2007

Install Rails on Ubuntu

1. Open the terminal

Install Rails first:
terminal:~$ sudo apt-get install ruby rdoc irb libyaml-ruby libzlib-ruby ri
terminal:~$ sudo apt-get install rubygems
terminal:~$ sudo gem update --system

Now to the Rails framework
terminal:~$ sudo gem install rails -y

Build your first Rails Application
terminal:~$ rails ForstaApp
terminal:~$ cd ForstaApp
terminal:~/ForstApp$ ruby script/server

Open Firefox and go to till http://localhost:3000
You created your first Rails application.

Inga kommentarer: