Skip to content

Instantly share code, notes, and snippets.

@cmkoller
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmkoller/2d037a672d8038efb18a to your computer and use it in GitHub Desktop.
Save cmkoller/2d037a672d8038efb18a to your computer and use it in GitHub Desktop.
Apollo Ruby Install Walk-Through

Ruby Install Walk-Through

# Install chruby
brew install chruby

# Enable Auto-Switching current Ruby
echo "source /usr/local/share/chruby/chruby.sh" >> ~/.zshrc
echo "source /usr/local/share/chruby/auto.sh" >> ~/.zshrc

# Ruby install tool
brew install ruby-install

# Install Ruby 2.0
ruby-install ruby 2.0

# Install the latest Ruby (2.1.5 as of this writing)
ruby-install ruby 2.1.5

# Set Ruby 2.0 as your default Ruby
echo "ruby-2.0" > ~/.ruby-version

# Close iTerm and reopen it in order for these changes to take effect.

# Avoid ever having to `bundle exec` your commands
gem install rubygems-bundler
gem regenerate_binstubs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment