Skip to content

Instantly share code, notes, and snippets.

@vadimstroganov
Created July 19, 2018 13:05
Show Gist options
  • Save vadimstroganov/d6fafdef4c27ccad35ad30e05042dea3 to your computer and use it in GitHub Desktop.
Save vadimstroganov/d6fafdef4c27ccad35ad30e05042dea3 to your computer and use it in GitHub Desktop.
Install rbenv and ruby-build
# install rbenv
git clone https://github.com/rbenv/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
# install ruby-build
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile
# verify
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment