From 0f04260c514fe0a58adb57f3b8d69f12f18cfe9e Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 9 Sep 2011 19:00:33 -0700 Subject: railties depends on actionpack, so put actionpack in the include path --- railties/Rakefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/railties/Rakefile b/railties/Rakefile index aa1dfa5dab..25e515e016 100755 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -17,7 +17,13 @@ namespace :test do dir = ENV["TEST_DIR"] || "**" Dir["test/#{dir}/*_test.rb"].each do |file| next true if file.include?("fixtures") - ruby '-Itest', "-I#{File.dirname(__FILE__)}/../activesupport/lib", file + dash_i = [ + 'test', + 'lib', + "#{File.dirname(__FILE__)}/../activesupport/lib", + "#{File.dirname(__FILE__)}/../actionpack/lib" + ] + ruby "-I#{dash_i.join ':'}", file end end end -- cgit v1.2.3