]> source.dussan.org Git - redmine.git/commit
Use File#expand_path for require's in script/* for Ruby 1.9.2 compatibility. #4050
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Tue, 2 Nov 2010 00:20:21 +0000 (00:20 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Tue, 2 Nov 2010 00:20:21 +0000 (00:20 +0000)
commit27049b848dd48eca4df160e6024d66215230d260
tree5fdc0eaedd653da2a4148cbad7814afefad7489c
parentbed79f523bd64d900a4e615efe7eb3e0cfc0abd8
Use File#expand_path for require's in script/* for Ruby 1.9.2 compatibility. #4050

Since Ruby 1.9.2, LOAD_PATH does not include "." directory anymore, so
we should use absolute paths instead to ensure both 1.8.x and 1.9.x
compatibility. It has been included in railties 2.3.x branch since
july 2009, see http://github.com/rails/rails/commit/7a427a83ca4da92c70760007aaf313638a5d8374

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4359 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 files changed:
script/about
script/breakpointer
script/console
script/dbconsole
script/destroy
script/generate
script/performance/benchmarker
script/performance/profiler
script/performance/request
script/plugin
script/process/inspector
script/process/reaper
script/process/spawner
script/process/spinner
script/runner
script/server