title: Start Gollum via Rack
body: <p>I am new to Ruby and Rack. I found a project called <a href="https://github.com/gollum/gollum" rel="nofollow noreferrer">Gollum</a>. I want to set the Author and followed this <a href="https://github.com/gollum/gollum/wiki/Gollum-via-Rack" rel="nofollow noreferrer">instruction</a>. 
  I installed it via <code>gem install gollum</code>. But when I want to start the project via:</p>
  
  <pre><code>/gollum/config.ru
  </code></pre>
  
  <p>the commandline tells me <code>undefined method 'run' for main:Object</code>.</p>
  
  <p>My <code>config.ru</code> looks like this:</p>
  
  <pre><code>#!/usr/bin/env ruby
  require 'rubygems'
  require 'gollum/app'
  
  module Precious
    class App &lt; Sinatra::Base
      ['/create/*','/edit/*'].each do |path|
        before path do
  
          session['gollum.author'] = {:name =&gt; "xxx",
                                  :email =&gt; "xxx"}
        end
      end
    end
  end
  
  run Precious::App
  </code></pre>
  
  <p>Can somebody give me a hint?</p>