#!/usr/bin/env ruby require 'thin' config_ru = File.expand_path(File.join(File.dirname(__FILE__), '..', 'config.ru')) ENV['STOOR_WIKI_PATH'] ||= '.' ARGV.unshift config_ru ARGV.unshift '-R' ARGV.unshift 'start' Thin::Runner.new(ARGV).run!