diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-10-27 18:35:41 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-10-27 18:35:41 -0700 |
commit | c2a17217d04a17f6614817c32349f56945ebc10c (patch) | |
tree | e806364fbc7e93328d6d86a590c3b6b5007f9e9a /railties | |
parent | df95f165708b6baf93dcc6eff6911ee159cab34c (diff) | |
download | rails-c2a17217d04a17f6614817c32349f56945ebc10c.tar.gz rails-c2a17217d04a17f6614817c32349f56945ebc10c.tar.bz2 rails-c2a17217d04a17f6614817c32349f56945ebc10c.zip |
Fix test failures due to requiring rails without AS in load path
Diffstat (limited to 'railties')
-rw-r--r-- | railties/Rakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index ebac90a403..3a87a88ddc 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -6,6 +6,10 @@ require 'rake/gempackagetask' require 'date' require 'rbconfig' +begin + require File.expand_path('../../vendor/gems/environment', __FILE__) +rescue LoadError +end $LOAD_PATH.unshift "#{File.dirname(__FILE__)}/lib" require 'rails' |