Kill external BUNDLE_ env vars
This commit is contained in:
parent
bb13917d39
commit
fc70b4b0a7
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ require "pathname"
|
||||||
|
|
||||||
Dir.chdir Pathname.new(__FILE__).realpath + "../.."
|
Dir.chdir Pathname.new(__FILE__).realpath + "../.."
|
||||||
|
|
||||||
|
# Because we can be called from inside other Ruby processes, unset any
|
||||||
|
# `BUNDLE_` environment variables.
|
||||||
|
|
||||||
|
ENV.keys.select { |k| /^BUNDLE_/i }.each { |k| ENV.delete k }
|
||||||
|
|
||||||
# Set up our local configuration, deps, and load path.
|
# Set up our local configuration, deps, and load path.
|
||||||
|
|
||||||
load "config/basic.rb"
|
load "config/basic.rb"
|
||||||
|
|
Loading…
Reference in a new issue