I’m going to assume this is the issue. # Returns the Gollum::Wiki object. def wiki @wiki ||= begin Gollum::Wiki.new(path_to_repo) rescue Gollum::NoSuchPathError create_repo! end end
the dir in this call needs to be a git repo according to https://github.com/gollum/gollum-lib # Create a new Gollum::Wiki object by initializing it with the path to the # Git repository. wiki = Gollum::Wiki.new("my-gollum-repo.git") # => <Gollum::Wiki> So I think the dir should be made into a git repo, then use Gollum::Wiki.new on it. I’m not super versed in ruby so I’m still researching how to do this, but it’s my current guess.