summaryrefslogtreecommitdiff
path: root/lib/bundler/environment_preserver.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-01-10 13:53:41 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-01-10 15:53:07 +0900
commita43f1d90c2b3aed232d5f4ef9dfe226401cf5d81 (patch)
treedcb61dd3ab8434242b81d54e8e16b4c4d86d5b8c /lib/bundler/environment_preserver.rb
parent89fb61f9a3276121da2826b93f131e52d6449859 (diff)
Merge RubyGems and Bundler master
from https://github.com/rubygems/rubygems/commit/0635c1423db5d7c461d53bf0c3329bca75de7609
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7094
Diffstat (limited to 'lib/bundler/environment_preserver.rb')
-rw-r--r--lib/bundler/environment_preserver.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/environment_preserver.rb b/lib/bundler/environment_preserver.rb
index 70967522af..57013f5d50 100644
--- a/lib/bundler/environment_preserver.rb
+++ b/lib/bundler/environment_preserver.rb
@@ -2,7 +2,7 @@
module Bundler
class EnvironmentPreserver
- INTENTIONALLY_NIL = "BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL".freeze
+ INTENTIONALLY_NIL = "BUNDLER_ENVIRONMENT_PRESERVER_INTENTIONALLY_NIL"
BUNDLER_KEYS = %w[
BUNDLE_BIN_PATH
BUNDLE_GEMFILE
@@ -16,7 +16,7 @@ module Bundler
RUBYLIB
RUBYOPT
].map(&:freeze).freeze
- BUNDLER_PREFIX = "BUNDLER_ORIG_".freeze
+ BUNDLER_PREFIX = "BUNDLER_ORIG_"
def self.from_env
new(env_to_hash(ENV), BUNDLER_KEYS)