Installing Ruby on Rails (Ubuntu)
Updating your repository.
Installing Ruby, MySQL, sqlite and build-essential
Installing gem package
Installing Ruby on Rails
Installing a few useful Ruby gems:
Now you may create your first rails app:
If you want to use mysql instead of sqlite in your app:
Resources: