Skip to content

Commit 594923c

Browse files
committed
Don't overwrite ENV if it's set
1 parent 5beb43d commit 594923c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msfenv.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
extension_pathname = root.join("Gemfile#{extension}")
1818

1919
if extension_pathname.readable?
20-
ENV['BUNDLE_GEMFILE'] = extension_pathname.to_path
20+
ENV['BUNDLE_GEMFILE'] ||= extension_pathname.to_path
2121
break
2222
end
2323
end

0 commit comments

Comments
 (0)