mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
Merge RubyGems-3.3.19 and Bundler-2.3.19
This commit is contained in:
parent
0918783347
commit
44c926f3a9
362 changed files with 7843 additions and 7605 deletions
|
@ -1,12 +1,12 @@
|
|||
# frozen_string_literal: true
|
||||
require_relative '../command'
|
||||
require_relative "../command"
|
||||
|
||||
unless defined? Gem::Commands::ServerCommand
|
||||
class Gem::Commands::ServerCommand < Gem::Command
|
||||
def initialize
|
||||
super('server', 'Starts up a web server that hosts the RDoc (requires rubygems-server)')
|
||||
super("server", "Starts up a web server that hosts the RDoc (requires rubygems-server)")
|
||||
begin
|
||||
Gem::Specification.find_by_name('rubygems-server').activate
|
||||
Gem::Specification.find_by_name("rubygems-server").activate
|
||||
rescue Gem::LoadError
|
||||
# no-op
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue