if defined?(RAILS_ROOT) # Temporary hack for getting functional tests in Rails running under 1.8.2 class Object #:nodoc: alias_method :require_without_load_path_reloading, :require def require(file_name) begin require_without_load_path_reloading(file_name) rescue Object => e ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } require_without_load_path_reloading(file_name) end end end end Now, obviously it''s not a very temporary hack, seeing as it''s lasted four releases. :) The problem i have, is with it rescuing Object, is that means it will eat syntax errors if the file is found. So, I inserted rescue SyntaxError => e raise right before the other rescue, though I think that''s a bit weak. It seems to help me with the problem I''m having. Also, I don''t understand why this hack is necessary. the modifications it''s making to $: should have all happened in environment.rb. David