Skip to content

Instantly share code, notes, and snippets.

@sjtipton
Last active December 24, 2015 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sjtipton/6798038 to your computer and use it in GitHub Desktop.
Save sjtipton/6798038 to your computer and use it in GitHub Desktop.
Install Ruby 2.0 and Postgres on OSX with ease

Links for ruby install

Homebrew, rbenv

$ rbenv install 2.0.0-p247
$ rbenv rehash
$ rbenv global 2.0.0-p247

Postgres via Homebrew

In the following blog, skip steps 5 and 6, and go with these instructions here.

http://www.moncefbelyamani.com/how-to-install-postgresql-on-a-mac-with-homebrew-and-lunchy/

Clone the getting started sample Hello World app

$ git clone git@github.com:sjtipton/not-of-this-world.git

Create user for the above application

$ createuser not-of-this-world -s -P  # when prompted, use password from config/database.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment