Sha256: 8a040f45e1e3940066a1c211c7ebc20ccdc5fa4e653923c04a3840d30e66885e

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

#!/usr/bin/env ruby

require 'thin'

dirname = File.dirname(__FILE__)
env_key = dirname.split(File::SEPARATOR).last.upcase

config_ru = File.expand_path(File.join(dirname, '..', 'config.ru'))

ENV["#{@env_key}_WIKI_PATH"] ||= '.'

ARGV.unshift config_ru
ARGV.unshift '-R'
ARGV.unshift 'start'
Thin::Runner.new(ARGV).run!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stoor-0.1.11 bin/stoor