Installing Rails on Debian / Ubuntu

Get Ruby

$ sudo apt-get update
$ sudo apt-get install build-essential libopenssl-ruby 
$ sudo apt-get install ruby ruby1.8-dev libsqlite3-dev

Installing RubyGems

$ sudo apt-get install rubygems

To make gem work properly add path to ~/.bashrc:

export PATH=/var/lib/gems/1.8/bin:$PATH

Installing Rails

Use RubyGems to install rails and dependencys:

$ sudo gem install rails sqlite3-ruby

Get missing gems

$ $ gem list --local
sudo rake gem:install

Links

  • https://help.ubuntu.com/community/RubyOnRails
NO COMMENT BOX
Right, not here. But it doesn’t mean I’m not interested in your feedback. I just prefer to use more busy services ;-) where a wider discussion could incur. So tweet me @netzfisch or if you find an error, fork my blog, correct the post and send me a pull request via GitHub. Thanks for your efforts.
CHEAT SHEETS
git linux rails vim
ELSEWHERE