aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-09-14 03:21:24 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-09-14 03:21:24 -0700
commit7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d (patch)
tree2d7c45da9b4456689115b64e63511db68a931d84 /Rakefile
parentbad67f8a4a480a41adb9541ddc11d1dce08990f4 (diff)
downloadrails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.tar.gz
rails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.tar.bz2
rails-7a7ee72ec1cb5a0b31d0ed9cd5c58a018876b65d.zip
Use load path rather than relative path for spec_helper requires. Also fixes specs on Ruby 1.9 since . is no longer in the load path.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index cc5249c2c5..47474e4b7b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -21,6 +21,7 @@ namespace :spec do
desc "Run specs with the #{adapter} database adapter"
Spec::Rake::SpecTask.new(adapter) do |t|
t.libs << "#{File.dirname(__FILE__)}/vendor/rails/activerecord/lib"
+ t.libs << "#{File.dirname(__FILE__)}/spec"
t.spec_files =
["spec/connections/#{adapter}_connection.rb"] +
["spec/schemas/#{adapter}_schema.rb"] +