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