Sha256: 33f24014f20abe35e59e74fda71883529775f6b7b2e93e97a14fc2bf6a386962

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

require 'sinatra/base'
require 'gollum'
require 'gollum/frontend/app'

base_path = "/#{File.basename(Dir.pwd)}"

Precious::App.set(:gollum_path, ENV['RTFMd_WIKI'])
Precious::App.set(:wiki_options, {
  :base_path => base_path
})

map base_path do
  run Precious::App
end 

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
RTFMd-0.10301.8 config/rtfmd.ru
RTFMd-0.10301.7 config/rtfmd.ru
RTFMd-0.10301.6 config/rtfmd.ru
RTFMd-0.10301.5 config/rtfmd.ru
RTFMd-0.10301.4 config/rtfmd.ru