Created
February 16, 2017 05:06
-
-
Save dangjlin/f57d8713352bfc8b0d35c31327658790 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
#source ~/.bashrc | |
# please manually run source ~/.bashrc to load environmnet variables and path | |
#type rbenv | |
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install 2.3.0 | |
rbenv global 2.3.0 | |
ruby -v | |
# install rbenv-vars | |
git clone https://github.com/rbenv/rbenv-vars.git $(rbenv root)/plugins/rbenv-vars | |
echo "gem: --no-document" > ~/.gemrc | |
gem install bundler | |
gem install rails -v 4.2.7 | |
rbenv rehash | |
rails -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment