Last Updated: October 26, 2022
· dickeyxxx

Installing Rails on OSX Mavericks

Install homebrew. You should be prompted to install the Xcode Command Line Tools.

$ ruby -e "$(curl -fsSL"

Make sure it is setup appropriately:

$ brew doctor

You should see: Your system is ready to brew..

Setup rbenv and Ruby 2.0.0:

$ brew install rbenv
$ brew install ruby-build
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc

ZSH users use ~/.zshrc.

Install bundler and rails:

$ gem install bundler
$ gem install rails
$ rbenv rehash

You should now be good to go!

Try starting here if you're new to Rails:

2 Responses
Add your response

The thoughtbot laptop script also now works on Mavericks:

chsh -s /bin/zsh
zsh <(curl -s

That installs:

  • Bundler
  • Exuberant Ctags
  • Foreman
  • Heroku Toolbelt
  • Hub
  • Homebrew
  • ImageMagick
  • Postgres
  • Qt
  • Rails
  • Rbenv
  • Redis
  • Ruby Build
  • Ruby stable (currently 2.0.0-p353)
  • The Silver Searcher
  • Tmux
  • Watch
over 1 year ago ·

foolproof Sublime Text symlink (for 'subl .' on the command line) if using homebrew:

ln -s "/Applications/Sublime Text" /usr/local/bin/subl
over 1 year ago ·