Skip to content

Instantly share code, notes, and snippets.

View locnguyen's full-sized avatar

Loc Nguyen locnguyen

  • Southern California
  • X @locn
View GitHub Profile
@locnguyen
locnguyen / gist:7848265
Last active December 30, 2015 15:29 — forked from oisin/gist:6562181
Almost pulled all my hair out trying to figure out how to install the do_postgres gem with Postgres.app v9.3
gem install do_postgres -- --with-pgsql-server-dir=/Applications/Postgres93.app/Contents/MacOS --with-pgsql-server-include=/Applications/Postgres93.app/Contents/MacOS/include/postgresql/server
@locnguyen
locnguyen / rspec-syntax-cheat-sheet.rb
Created November 25, 2012 16:54 — forked from dnagir/rspec-syntax-cheat-sheet.rb
RSpec 2 syntax cheat sheet by example
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below)
module Player
describe MovieList, "with optional description" do
it "is pending example, so that you can write ones quickly"
it "is already working example that we want to suspend from failing temporarily" do
pending("working on another feature that temporarily breaks this one")