Server IP : 66.29.132.122 / Your IP : 3.135.212.177 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/proc/thread-self/root/opt/alt/ruby31/share/rubygems/rubygems/commands/ |
Upload File : |
# frozen_string_literal: true 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)") begin Gem::Specification.find_by_name("rubygems-server").activate rescue Gem::LoadError # no-op end end def description # :nodoc: <<-EOF The server command has been moved to the rubygems-server gem. EOF end def execute alert_error "Install the rubygems-server gem for the server command" end end end