mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix bundler environment check
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user