annotate .svn/pristine/27/27952988c7b2ad95ea1ef729436ace0c3896dd74.svn-base @ 1524:82fac3dcf466
redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Thu, 11 Sep 2014 10:24:38 +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 |