Skip to content

Instantly share code, notes, and snippets.

@dougwig
Last active January 4, 2016 10:39
Show Gist options
  • Save dougwig/8609929 to your computer and use it in GitHub Desktop.
Save dougwig/8609929 to your computer and use it in GitHub Desktop.
Installing Ruby on Rails environment on Mavericks
- Install XCode from the app store.
- Install XCode command-line tools.
xcode-select --install
- Install home brew. http://brew.sh/
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
- Install database development packages.
brew install postgresql
brew install mysql
- Install RVM. https://rvm.io/rvm/install
curl -sSL https://get.rvm.io | bash
rvm requirements
- Exit your open terminal and open a new one.
- Install ruby 2.0 via RVM (this makes gem management with user permissions simpler.)
rvm install 2.0
- Install rails
gem install rails -v '3.2.13'
- Make a rails app, install the default gems
rails new first_app
cd first_app
bundle install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment