Browse files

Fix error when running with --irb option

uninitialized constant Gollum::Wiki (NameError)
  • Loading branch information...
1 parent dac1268 commit d84fdc75993c364709e942caaea8fd2c0779a282 @uk-ar uk-ar committed Mar 26, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/gollum
View
1 bin/gollum
@@ -133,6 +133,7 @@ if options['irb']
end
begin
+ require 'gollum-lib'
wiki = Gollum::Wiki.new(gollum_path, wiki_options)
if !wiki.exist? then raise Grit::InvalidGitRepositoryError end
puts "Loaded Gollum wiki at #{File.expand_path(gollum_path).inspect}."

0 comments on commit d84fdc7

Please sign in to comment.