Skip to content

Instantly share code, notes, and snippets.

@pjkelly
Last active December 19, 2015 21:08
Show Gist options
  • Save pjkelly/6017676 to your computer and use it in GitHub Desktop.
Save pjkelly/6017676 to your computer and use it in GitHub Desktop.
Installing Ruby 2 and making sure it works with OpenSSL.
brew update
brew upgrade rbenv
brew upgrade ruby-build
brew install openssl
brew link openssl --force
brew install curl-ca-bundle
CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl)" rbenv install 2.0.0-p247

Switch into the hasfriends repository and run the following:

gem install bundler
gem install git_remote_branch
gem install zeus
gem install powder
rbenv rehash
git checkout master
git pull origin master
bundle

If you're using Pow (which you should be on this app):

powder respawn

You only need to do all this once.

@pjkelly
Copy link
Author

pjkelly commented Jul 17, 2013

If this version of Ruby was previously installed, you'll need to reinstall with these steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment