Skip to content

Commit 313a7ea

Browse files
committed
Fix bundler environment check
1 parent 6184359 commit 313a7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/test/isolation/abstract_unit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ class Test::Unit::TestCase
185185
FileUtils.mkdir(tmp_path)
186186

187187
environment = File.expand_path('../../../../vendor/gems/environment', __FILE__)
188-
if File.exist?(environment)
188+
if File.exist?("#{environment}.rb")
189189
require_environment = "-r #{environment}"
190190
end
191191

0 commit comments

Comments
 (0)