Mercurial > hg > soundsoftware-site
annotate .svn/pristine/27/27952988c7b2ad95ea1ef729436ace0c3896dd74.svn-base @ 1519:afce8026aaeb redmine-2.4-integration
Merge from branch "live"
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:34:53 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 #!/usr/bin/env ruby |
Chris@909 | 2 |
Chris@909 | 3 require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) |
Chris@909 | 4 |
Chris@909 | 5 # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: |
Chris@909 | 6 # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired |
Chris@909 | 7 require "dispatcher" |
Chris@909 | 8 |
Chris@909 | 9 ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun) |
Chris@909 | 10 Dispatcher.dispatch |