Last active
December 4, 2019 09:36
-
-
Save kudaliar032/5d9eb532e2214d188f460753027226a7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
git clone --depth=1 https://github.com/sstephenson/rbenv.git $RBENV_ROOT | |
echo 'eval "$($RBENV_ROOT/bin/rbenv init -)"' >> /etc/profile.d/rbenv.sh | |
echo 'eval "$($RBENV_ROOT/bin/rbenv init -)"' >> $HOME/.bashrc | |
chmod +x /etc/profile.d/rbenv.sh | |
mkdir $RBENV_ROOT/plugins | |
git clone --depth=1 https://github.com/sstephenson/ruby-build.git $RBENV_ROOT/plugins/ruby-build | |
$RBENV_ROOT/bin/rbenv install 2.4.7 | |
$RBENV_ROOT/bin/rbenv global 2.4.7 | |
$RBENV_ROOT/shims/gem install bundler | |
#$RBENV_ROOT/bin/rbenv rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment