Skip to content

Instantly share code, notes, and snippets.

@A
Last active August 29, 2015 14:12
Show Gist options
  • Select an option

  • Save A/42d74481fba22269f083 to your computer and use it in GitHub Desktop.

Select an option

Save A/42d74481fba22269f083 to your computer and use it in GitHub Desktop.
# rbenv installation
$ brew update
$ brew upgrade rbenv ruby-build
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
# Zsh note: Modify your ~/.zshrc file instead of ~/.bash_profile.
# Add rbenv init to your shell to enable shims and autocompletion.
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
$ rbenv install 2.2.0
$ rbenv global 2.2.0
$ rbenv rehash
$ gem install bundler # and other shit below
$ rbenv rehash # https://github.com/sstephenson/rbenv#rbenv-rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment