Skip to content

Instantly share code, notes, and snippets.

Paul Rossman paulrossman

Block or report user

Report or block paulrossman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
havenwood /
Last active Feb 3, 2020
Install the latest Homebrew precompiled Ruby with the chruby Ruby version switcher.
# Install Homebrew if you haven't already:
/usr/bin/ruby -e "$(curl -fsSL"
# Install the latest stable Ruby and chruby:
brew install ruby chruby
# Symlink brew Ruby to ~/.rubies where chruby will autodetect it:
mkdir -p "$HOME/.rubies"
ln -s "$(brew --prefix ruby)" "$HOME/.rubies/ruby-$(brew ls --versions ruby | cut -d" " -f2)"
jasoncodes / gist:1223731
Created Sep 17, 2011
Installing Ruby 1.9.3 with rbenv on OS X
View gist:1223731
# The latest version of this script is now available at
brew update
brew install rbenv ruby-build rbenv-vars readline ctags
if [ -n "${ZSH_VERSION:-}" ]; then
echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.zshrc
echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.bash_profile
You can’t perform that action at this time.