Make --version not cough up a furball.
Commit 8c625419b8 moved the require down,
which broke --version.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user