LoadError: cannot load such file — gollum/frontend/app

Recently I’ve been working on setting up gollum to use as a private note taking wiki. After getting a gollum-based wiki setup, I began thinking about using gollum and pow as a way to view notes associated with local git source code repositories.

After getting the right version of ruby up and running, I was using these two resources, Run Gollum on Pow and Searching GitHub Wikis with Gollum, and kept running into this error:

Error starting application

Your Rack app raised an exception when Pow tried to run it.

LoadError: cannot load such file -- gollum/frontend/app

It appears this is a change to the directory structure in gollum. In the above instructions, each says the config.ru file should be

require “gollum/frontend/app”

Precious::App.set(:gollum_path, File.dirname(__FILE__))
Precious::App.set(:wiki_options, {})
run Precious::App

for more recent versions of gollum (this was version Gollum 2.4.15), the config.ru should be

require “gollum/app”

Precious::App.set(:gollum_path, File.dirname(__FILE__))
Precious::App.set(:wiki_options, {})
run Precious::App

Advertisements