Skip to content

Instantly share code, notes, and snippets.

@tylerchilds
Created April 28, 2016 16:07
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 tylerchilds/8c306df911cc500dbcb1417a31a7f2f8 to your computer and use it in GitHub Desktop.
Save tylerchilds/8c306df911cc500dbcb1417a31a7f2f8 to your computer and use it in GitHub Desktop.
Basic setup to go from zero to ruby on rails
#!/bin/bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install git rbenv
rbenv install 2.2.4 && rbenv global 2.2.4
sudo gem install bundler
# after cloning rails application run these (without dollar sign)
#
# $ bundle
# $ rake db:create
# $ rails s
#
# Then visit localhost:3000 in web browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment