Skip to content

Instantly share code, notes, and snippets.

@omar-yassin
Created April 17, 2018 14:00
Show Gist options
  • Save omar-yassin/5f82a7415c0075ac623c1ae09b6c9a01 to your computer and use it in GitHub Desktop.
Save omar-yassin/5f82a7415c0075ac623c1ae09b6c9a01 to your computer and use it in GitHub Desktop.
OSX rbenv setup
# need ruby version for 2.4.2 for i2cssh at the time I wrote this
# install
brew upgrade rbenv ruby-build
# setup ebenv
rbenv install 2.4.2
rbenv global 2.4.2
rbenv rehash
# for fish shell to support rbenv
fisher rbenv
# for bash stick the following to profile
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment