ActionPack, since rev 8413
'rake test' fails on the CI server, with "no such file to load -- dispatcher".
Reason:
dispatcher.rb that needs to be loaded is at railties/lib. this directory is added to RUBYPATH by integration_test.rb. However, on the CI server (unlike developers' computers) request_test.rb is loaded before integration_test.rb, ties to require 'dispatcher', and - kaboom!
Full exception from http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/8413:
/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- dispatcher (MissingSourceFile)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./test/controller/../../lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
from ./test/controller/../../lib/../../activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
from ./test/controller/../../lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
from ./test/controller/session/../../../lib/action_controller/integration.rb:1
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
from ./test/controller/../../lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require'
... 6 levels...
from ./test/controller/../../lib/../../activesupport/lib/active_support/dependencies.rb:489:in `load'
from /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb:5
from /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb:5:in `each'
from /usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/rake_test_loader.rb:5
rake aborted!