summaryrefslogtreecommitdiff
path: root/lib/bundler/cli/open.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/cli/open.rb')
-rw-r--r--lib/bundler/cli/open.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/open.rb b/lib/bundler/cli/open.rb
index 380dbcb258..fb18b0aacc 100644
--- a/lib/bundler/cli/open.rb
+++ b/lib/bundler/cli/open.rb
@@ -18,7 +18,7 @@ module Bundler
path = spec.full_gem_path
Dir.chdir(path) do
command = Shellwords.split(editor) + [path]
- Bundler.with_clean_env do
+ Bundler.with_original_env do
system(*command)
end || Bundler.ui.info("Could not run '#{command.join(" ")}'")
end