#Installation party!
-
Update Brew - to make sure we're all on the same page
brew update
-
Install Postgress - a fantastic database
Install this -
Configure Postgres
You will likely need to do some combination of the following. Start by verifying that you do indeed have Version 9.4.sudo ARCHFLAGS="-arch x86_64" gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.4/bin/pg_config
Sanity Check: You should be able to run:
pg_config
and see the config path above. -
Install Rails - core development framework.
gem install rails
-
Install GPG to install RVM - a public key generator and verifier
brew install gpg
-
Install RVM - version manager for Ruby
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
-
Install RSPEC - testing library for Ruby
gem install rspec
-
Install gem bundler - gem version tracker and maintainer
gem install bundler
-
Install pry - fitter, happier, more productive REPL for Ruby (replaces irb)
gem install pry