sqldump

(coffee) => code

Setup Ruby (2.x) on Rails (4.x) in 10 Lines or Less

As a first time user of Ruby and Rails, I was able to setup a sane environment on Ubuntu Server 12.04 (x64) in less than 10 commands:

1
2
3
4
5
6
7
8
cd $HOME
curl -L https://get.rvm.io | bash
source $HOME/.rvm/scripts/rvm
rvm requirements
rvm install ruby
rvm use ruby --default
rvm rubygems current
gem install rails

And, if you already have a rails app to run, continue along with:

1
2
3
cd myapp
bundle install
rails server

This will get you up and running with a dev server.