Skip to content

Commit

Permalink
core: generate bogus gemfile so that a random lockfile isn't loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Jan 6, 2014
1 parent 86cab61 commit 5197d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vagrant/bundler.rb
Expand Up @@ -205,7 +205,7 @@ def with_isolated_gem
# native extensions because it causes all sorts of problems.
old_rubyopt = ENV["RUBYOPT"]
old_gemfile = ENV["BUNDLE_GEMFILE"]
ENV["BUNDLE_GEMFILE"] = nil
ENV["BUNDLE_GEMFILE"] = Tempfile.new("vagrant-gemfile").path
ENV["RUBYOPT"] = (ENV["RUBYOPT"] || "").gsub(/-rbundler\/setup\s*/, "")

# Set the GEM_HOME so gems are installed only to our local gem dir
Expand Down

0 comments on commit 5197d3d

Please sign in to comment.