The quickest way to get from nothing to Ruby and Rails

How to get Ruby on Rails set up easily and quickly on your Mac

This is the quickest/easiest way I can see for someone running Mac OSx to get up and running with Ruby on Rails assuming they are starting with a blank slate.

Just dumping it here for future reference;

curl -L https://get.rvm.io | bash
source "/Users/your-username/.rvm/scripts/rvm"
rvm get stable
rvm reload
rvm install 2.0.0 (this might take some time and you may need to enter your password a couple of times)
gem install rails

Now you are ready to call rails new my_awesome_app


Recent posts View all

Ruby

How to ignore Bullet in RSpec tests

Using Bullet during a test can pick up mistakes but also has false negatives; here is an easy way to ignore them

Ruby

How we used Nokogiri to fix a sizing issue in YouTube's oEmbed

At some point, one of our calls to YouTube's oEmbed endpoint was returning videos way too small; we fixed in in our Rails application by using Nokogiri