Mercurial > hg > soundsoftware-site
annotate .svn/pristine/27/27952988c7b2ad95ea1ef729436ace0c3896dd74.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +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 |