summaryrefslogtreecommitdiff
path: root/lib/bundler/settings.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2022-02-28 10:32:28 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2022-02-28 11:39:20 +0900
commitff3d7b720ec21e4856aac0b3c493bc78cbac83d4 (patch)
tree5954bdfc783adb6060337b0f7dbb1589984e6291 /lib/bundler/settings.rb
parent02ead4a82eff7dd48153d6457929fe48f50e28df (diff)
Merge RubyGems and Bundler master
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5606
Diffstat (limited to 'lib/bundler/settings.rb')
-rw-r--r--lib/bundler/settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb
index 72728fb20f..8f263cd012 100644
--- a/lib/bundler/settings.rb
+++ b/lib/bundler/settings.rb
@@ -367,7 +367,7 @@ module Bundler
def to_array(value)
return [] unless value
- value.split(":").map(&:to_sym)
+ value.tr(" ", ":").split(":").map(&:to_sym)
end
def array_to_s(array)