Skip to content

Instantly share code, notes, and snippets.

@dangjlin
Created February 16, 2017 05:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dangjlin/f57d8713352bfc8b0d35c31327658790 to your computer and use it in GitHub Desktop.
Save dangjlin/f57d8713352bfc8b0d35c31327658790 to your computer and use it in GitHub Desktop.
#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