Kill external BUNDLE_ env vars

This commit is contained in:
John Barnette 2012-12-06 16:02:49 -08:00
parent bb13917d39
commit fc70b4b0a7

View file

@ -21,6 +21,11 @@ require "pathname"
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.
load "config/basic.rb"