Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix error when running with --irb option

uninitialized constant Gollum::Wiki (NameError)
  • Loading branch information...
commit d84fdc75993c364709e942caaea8fd2c0779a282 1 parent dac1268
@uk-ar uk-ar authored
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}."
Please sign in to comment.
Something went wrong with that request. Please try again.