Ruby on Rails / Rubygems / FullStack / Git / Mac notes.
Rails App Deploy to Heroku : An Easy Way
Preparing step
install Postgres DB via brew
1234567891011
$ brew doctor
$ brew update
$ brew install postgresql
# if we want to run pg locally, we need to run the following instructions.# To have launchd start postgresql at login:ln -sfv /usr/local/opt/postgresql/*plist ~/Library/LaunchAgents
# Then to load and run postgresql immediately:launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist