Skip to content

Instantly share code, notes, and snippets.

@Quilted
Forked from sferik/install-ruby-2.0.0.sh
Last active December 20, 2015 03:49
Show Gist options
  • Save Quilted/6066806 to your computer and use it in GitHub Desktop.
Save Quilted/6066806 to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
brew update
brew install rbenv
brew install ruby-build
brew install openssl
RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl`
rbenv install 2.0.0-preview1
@Quilted
Copy link
Author

Quilted commented Jul 23, 2013

When calling rbenv install 2.0.0-preview1, the version number can be any release of Ruby. If you add eval "$(rbenv init -)" to your profile you can tab complete rbenv install to get a list of possible versions.

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