- You want to run guard
- You want use Sublime plugins (like RSpec or Guard plugins)
Brew aka Homebrew is a package management system for Mac OSX.
Open up the Mac Terminal and run this command to install brew on your mac:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Now that we have Homebrew installed, we can use it to install Ruby.
We're going to use rbenv to install and manage our Ruby versions.
To do this, run the following commands in your Terminal:
brew install rbenv ruby-build
# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
# Install Ruby 2.1.2 and set it as the default version
rbenv install 2.1.2
rbenv global 2.1.2
ruby -v
# ruby 2.1.2