Created
April 28, 2016 16:07
-
-
Save tylerchilds/8c306df911cc500dbcb1417a31a7f2f8 to your computer and use it in GitHub Desktop.
Basic setup to go from zero to ruby on rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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