Created
July 19, 2018 13:05
-
-
Save vadimstroganov/d6fafdef4c27ccad35ad30e05042dea3 to your computer and use it in GitHub Desktop.
Install rbenv and ruby-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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