Last active
March 6, 2018 03:57
-
-
Save RahulMahale/6b0dbee7be18cc7af690c382c6c34510 to your computer and use it in GitHub Desktop.
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
cd ~/ | |
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bash_profile | |
source ~/.bash_profile | |
echo "gem: --no-document" > ~/.gemrc | |
gem install bundler | |
rbenv install -v 2.2.7 | |
rbenv global 2.2.7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment