Skip to content

Instantly share code, notes, and snippets.

View bntzio's full-sized avatar

Enrique Benitez bntzio

View GitHub Profile
@bntzio
bntzio / brew_mysql.txt
Created October 10, 2015 22:52
Install MySQL with Homebrew
brew install mysql
@bntzio
bntzio / rails_version.txt
Created October 10, 2015 22:51
Verify Rails is installed
rails -v
# Rails 4.2.4
@bntzio
bntzio / rehash.txt
Created October 10, 2015 22:50
Rbenv rehash
rbenv rehash
@bntzio
bntzio / install_rails.txt
Created October 10, 2015 22:49
Install Rails
gem install rails -v 4.2.4
@bntzio
bntzio / ruby_version.txt
Created October 10, 2015 22:25
Check Ruby version
ruby -v
@bntzio
bntzio / rbenv_ruby.txt
Last active October 10, 2015 22:26
Install Ruby with rbenv
rbenv install 2.2.3
rbenv global 2.2.3
@bntzio
bntzio / source_bash_profile.txt
Created October 10, 2015 22:22
Source ~/.bash_profile
source ~/.bash_profile
@bntzio
bntzio / rbenv_bash.txt
Created October 10, 2015 22:21
Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
@bntzio
bntzio / install_rbenv.txt
Created October 10, 2015 22:20
Install rbenv with Homebrew
brew install rbenv ruby-build
@bntzio
bntzio / install_homebrew.txt
Created October 10, 2015 22:02
Install Homebrew Script
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"