aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-14 02:38:22 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-14 03:27:18 -0800
commit313a7ea9d63f3df6e4ad0ef9941f83394f95fa0b (patch)
tree3a801054a09e05608b35ba913690ed2a6f03b0b9 /railties
parent61843595eaa58fc3c7f30043f2e9d84e2ef2b401 (diff)
downloadrails-313a7ea9d63f3df6e4ad0ef9941f83394f95fa0b.tar.gz
rails-313a7ea9d63f3df6e4ad0ef9941f83394f95fa0b.tar.bz2
rails-313a7ea9d63f3df6e4ad0ef9941f83394f95fa0b.zip
Fix bundler environment check
Diffstat (limited to 'railties')
-rw-r--r--railties/test/isolation/abstract_unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb
index 145d16b6d9..ba8b35d5cc 100644
--- a/railties/test/isolation/abstract_unit.rb
+++ b/railties/test/isolation/abstract_unit.rb
@@ -185,7 +185,7 @@ Module.new do
FileUtils.mkdir(tmp_path)
environment = File.expand_path('../../../../vendor/gems/environment', __FILE__)
- if File.exist?(environment)
+ if File.exist?("#{environment}.rb")
require_environment = "-r #{environment}"
end