summaryrefslogtreecommitdiff
path: root/lib/rubygems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-04-04 12:03:13 +0900
committergit <[email protected]>2023-04-04 12:20:43 +0000
commita881b33818b101ad097cd0158afda11b6c24f1fc ()
tree73111721667233a91e214e4df703d91ab19cfded /lib/rubygems.rb
parenta78e0ca968115cbf57228cf2c026d2e21534dc7b (diff)
[rubygems/rubygems] util/rubocop -A --only Performance/RegexpMatch
https://.com/rubygems/rubygems/commit/52ae4452c2
-rw-r--r--lib/rubygems.rb4
1 files changed, 2 insertions, 2 deletions
@@ -795,7 +795,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
if @ruby.nil?
@ruby = RbConfig.ruby
- @ruby = "\"#{@ruby}\"" if @ruby =~ /\s/
end
@ruby
@@ -1008,7 +1008,7 @@ An Array (#{env.inspect}) was passed in from #{caller[3]}
# Skip older versions of the GemCutter plugin: Its commands are in
# RubyGems proper now.
- next if plugin =~ /gemcutter-0\.[0-3]/
begin
load plugin