bin/stoor in stoor-0.1.11 vs bin/stoor in stoor-0.1.12

- old
+ new

@@ -1,15 +1,11 @@ #!/usr/bin/env ruby require 'thin' -dirname = File.dirname(__FILE__) -env_key = dirname.split(File::SEPARATOR).last.upcase +ENV['STOOR_RUNNING_VIA_CMD'] = 'y' +ENV['STOOR_WIKI_PATH'] ||= '.' -config_ru = File.expand_path(File.join(dirname, '..', 'config.ru')) - -ENV["#{@env_key}_WIKI_PATH"] ||= '.' - -ARGV.unshift config_ru +ARGV.unshift File.expand_path(File.join(File.dirname(__FILE__), '..', 'config.ru')) ARGV.unshift '-R' ARGV.unshift 'start' Thin::Runner.new(ARGV).run!