Skip to content

Instantly share code, notes, and snippets.

@franciso
Last active December 15, 2015 16:19
Show Gist options
  • Save franciso/5288737 to your computer and use it in GitHub Desktop.
Save franciso/5288737 to your computer and use it in GitHub Desktop.
Mac OS X 10.8 - Ruby on Rails Installation Guide

How to install Ruby On Rails on Mac OS X - 10.8

This is a minimalit's guide on installing Ruby on Rails on Mac OS X 10.8

Install Apple Developer command line tools

https://developer.apple.com/downloads/

Install rvm

curl -L https://get.rvm.io | bash -s stable

don't forget to reload the terminal after this command.

Then configure rvm to automatically download dependencies with this command:

rvm autolibs enable

Install Homebrew

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

Install Ruby

rvm install 1.9.3

Update RubyGems

gem update --system

Install Ruby on Rails

gem install rails

Create and use a gemset using rvm

rvm --create use 1.9.3@projectname

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment