From a99e4b3d71cb628e5b0444f90dd6b69304cb0be6 Mon Sep 17 00:00:00 2001 From: Kevin Middleton Date: Sun, 31 Jul 2011 16:44:29 -0700 Subject: [PATCH] Added "require 'rubygems'" to post_commit_hook.rb. Is there a reason not to have it? I was having the same issue as issue #4 (OS X). If this is the fix (worked for me), should it be included? --- post_commit_hook.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/post_commit_hook.rb b/post_commit_hook.rb index 9701384..e550769 100644 --- a/post_commit_hook.rb +++ b/post_commit_hook.rb @@ -1,5 +1,6 @@ #!/usr/bin/env ruby +require 'rubygems' require 'grit' include Grit