10/20/2016 - 9:33 PM

Homebrew - rbenv

Homebrew - rbenv

installing ruby

brew upgrade rbenv ruby-build

rbenv init
rbenv install --list
cd /Users/priscillarodriguez/.rbenv/plugins/ruby-build && git pull
rbenv install 2.3.1

rbenv rehash
run everytime new version of ruby or any kind of gem that also provide any type of command on the command line

rbenv versions

rails install
gem -v
which gem
gem update --system

gem --help

gem -v
gem install bundler
rbenv rehash
bundle -v
which bundle
gem install rails --no-ri --no-rdoc --version 4.2.7
rbenv rehash
rails -v

which rails
gem list