diff --git a/app/models/gollum_wiki.rb b/app/models/gollum_wiki.rb index 613a711..62c8b51 100644 --- a/app/models/gollum_wiki.rb +++ b/app/models/gollum_wiki.rb @@ -41,7 +41,7 @@ class GollumWiki def wiki @wiki ||= begin Gollum::Wiki.new(path_to_repo) - rescue Grit::NoSuchPathError + rescue Gollum::NoSuchPathError create_repo! end end -- libgit2 0.21.2