Skip to content


Here is a minimal tutorial and yet at the end you’ll have a fully functional ruby on rails stack. I did it on Linux Mint but it also works on Ubuntu 9.10.

Open a Terminal and type this magic line:

sudo apt-get install ruby rubygems ruby1.8-dev libsqlite3-dev libopenssl-ruby build-essential && sudo gem install rails sqlite3-ruby


Rails command might not be recognized by Terminal, just add at the end of ~/.bashrc this line:


If it’s a fresh install and there’s no ~/.bashrc file, simply create it with a text editor.

Relaunch Terminal.

You can now try Rails, just type:

rails mytestapp
cd mytestapp

And go to http://localhost:3000 with your browser.

Have fun.


%d bloggers like this: