From 515f8610c44e10d1bdd864e186746c624cd8e44c Mon Sep 17 00:00:00 2001 From: Jon Frisby Date: Mon, 30 Aug 2010 12:18:57 +0800 Subject: [PATCH] Make --version not cough up a furball. Commit 8c625419b88b1297d89ccc3522dab7548c830848 moved the require down, which broke --version. --- bin/gollum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gollum b/bin/gollum index 0ef6de8f..603c8dd5 100755 --- a/bin/gollum +++ b/bin/gollum @@ -15,6 +15,7 @@ HELP require 'optparse' require 'rubygems' +require 'gollum' exec = {} options = {} @@ -65,7 +66,6 @@ if options['irb'] end end - require 'gollum' begin wiki = Gollum::Wiki.new(gollum_path) if !wiki.exist? then raise Grit::InvalidGitRepositoryError end