Skip to content

Instantly share code, notes, and snippets.

@dangjlin
Created February 16, 2017 05:06
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
#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