Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.141.42.23
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
lib64 /
ruby /
1.9.1 /
rubygems /
Delete
Unzip
Name
Size
Permission
Date
Action
commands
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
ext
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
package
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
ssl_certs
[ DIR ]
drwxr-xr-x
2024-03-03 22:48
builder.rb
2.21
KB
-rw-r--r--
2012-04-19 22:43
command.rb
12.46
KB
-rw-r--r--
2011-07-27 02:04
command_manager.rb
4.67
KB
-rw-r--r--
2011-07-27 02:04
config_file.rb
9.69
KB
-rw-r--r--
2012-04-19 23:38
custom_require.rb
1.83
KB
-rw-r--r--
2012-04-19 22:43
defaults.rb
2.65
KB
-rw-r--r--
2012-04-19 22:43
dependency.rb
6.43
KB
-rw-r--r--
2011-10-08 10:53
dependency_installer.rb
9.94
KB
-rw-r--r--
2011-07-27 02:04
dependency_list.rb
5.58
KB
-rw-r--r--
2011-10-08 10:53
deprecate.rb
1.81
KB
-rw-r--r--
2011-10-08 10:53
doc_manager.rb
5.55
KB
-rw-r--r--
2011-07-27 02:04
errors.rb
793
B
-rw-r--r--
2011-07-27 02:04
exceptions.rb
2.34
KB
-rw-r--r--
2011-07-27 02:04
ext.rb
379
B
-rw-r--r--
2011-07-27 02:04
format.rb
1.96
KB
-rw-r--r--
2012-04-19 22:43
gem_openssl.rb
2.24
KB
-rw-r--r--
2011-08-05 20:18
gem_path_searcher.rb
4.57
KB
-rw-r--r--
2011-10-08 10:53
gem_runner.rb
2.38
KB
-rw-r--r--
2011-07-27 02:04
gemcutter_utilities.rb
1.86
KB
-rw-r--r--
2011-07-27 02:04
indexer.rb
16.85
KB
-rw-r--r--
2011-10-08 10:53
install_update_options.rb
3.87
KB
-rw-r--r--
2011-07-27 02:04
installer.rb
16.94
KB
-rw-r--r--
2012-10-25 09:18
installer_test_case.rb
3.1
KB
-rw-r--r--
2012-04-19 22:43
local_remote_options.rb
3.36
KB
-rw-r--r--
2011-07-27 02:04
mock_gem_ui.rb
1.05
KB
-rw-r--r--
2011-07-27 02:04
old_format.rb
3.69
KB
-rw-r--r--
2011-07-27 02:04
package.rb
2.15
KB
-rw-r--r--
2011-07-27 02:04
package_task.rb
3.79
KB
-rw-r--r--
2011-07-27 02:04
path_support.rb
1.5
KB
-rw-r--r--
2011-08-26 01:12
platform.rb
5.55
KB
-rw-r--r--
2012-04-19 22:43
psych_additions.rb
498
B
-rw-r--r--
2012-04-19 22:43
psych_tree.rb
1.34
KB
-rw-r--r--
2012-04-19 22:43
remote_fetcher.rb
13.5
KB
-rw-r--r--
2012-04-19 23:38
require_paths_builder.rb
577
B
-rw-r--r--
2011-07-27 02:04
requirement.rb
4.99
KB
-rw-r--r--
2012-04-19 22:43
security.rb
28.83
KB
-rw-r--r--
2011-07-27 02:04
server.rb
21.93
KB
-rw-r--r--
2011-10-08 10:53
source_index.rb
11
KB
-rw-r--r--
2011-10-08 10:53
spec_fetcher.rb
7.17
KB
-rw-r--r--
2012-04-19 22:43
specification.rb
54.68
KB
-rw-r--r--
2012-04-19 22:43
syck_hack.rb
3.96
KB
-rw-r--r--
2012-04-19 23:38
test_case.rb
21.89
KB
-rw-r--r--
2012-04-19 22:43
test_utilities.rb
3.47
KB
-rw-r--r--
2011-08-05 20:18
text.rb
1.23
KB
-rw-r--r--
2011-07-27 02:04
uninstaller.rb
6.77
KB
-rw-r--r--
2011-07-27 03:42
user_interaction.rb
11.22
KB
-rw-r--r--
2011-08-05 20:18
validator.rb
4.65
KB
-rw-r--r--
2011-07-27 02:04
version.rb
10.18
KB
-rw-r--r--
2013-12-22 04:38
version_option.rb
1.59
KB
-rw-r--r--
2011-07-27 02:04
Save
Rename
#-- # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. # All rights reserved. # See LICENSE.txt for permissions. #++ require 'rubygems/command' require 'rubygems/user_interaction' ## # The command manager registers and installs all the individual sub-commands # supported by the gem command. # # Extra commands can be provided by writing a rubygems_plugin.rb # file in an installed gem. You should register your command against the # Gem::CommandManager instance, like this: # # # file rubygems_plugin.rb # require 'rubygems/command_manager' # # class Gem::Commands::EditCommand < Gem::Command # # ... # end # # Gem::CommandManager.instance.register_command :edit # # See Gem::Command for instructions on writing gem commands. class Gem::CommandManager include Gem::UserInteraction ## # Return the authoritative instance of the command manager. def self.instance @command_manager ||= new end ## # Reset the authoritative instance of the command manager. def self.reset @command_manager = nil end ## # Register all the subcommands supported by the gem command. def initialize require 'timeout' @commands = {} register_command :build register_command :cert register_command :check register_command :cleanup register_command :contents register_command :dependency register_command :environment register_command :fetch register_command :generate_index register_command :help register_command :install register_command :list register_command :lock register_command :outdated register_command :owner register_command :pristine register_command :push register_command :query register_command :rdoc register_command :search register_command :server register_command :sources register_command :specification register_command :stale register_command :uninstall register_command :unpack register_command :update register_command :which end ## # Register the Symbol +command+ as a gem command. def register_command(command) @commands[command] = false end ## # Unregister the Symbol +command+ as a gem command. def unregister_command(command) @commands.delete command end ## # Return the registered command from the command name. def [](command_name) command_name = command_name.intern return nil if @commands[command_name].nil? @commands[command_name] ||= load_and_instantiate(command_name) end ## # Return a sorted list of all command names (as strings). def command_names @commands.keys.collect {|key| key.to_s}.sort end ## # Run the config specified by +args+. def run(args) process_args(args) rescue StandardError, Timeout::Error => ex alert_error "While executing gem ... (#{ex.class})\n #{ex.to_s}" ui.errs.puts "\t#{ex.backtrace.join "\n\t"}" if Gem.configuration.backtrace terminate_interaction(1) rescue Interrupt alert_error "Interrupted" terminate_interaction(1) end def process_args(args) args = args.to_str.split(/\s+/) if args.respond_to?(:to_str) if args.size == 0 say Gem::Command::HELP terminate_interaction(1) end case args[0] when '-h', '--help' say Gem::Command::HELP terminate_interaction(0) when '-v', '--version' say Gem::VERSION terminate_interaction(0) when /^-/ alert_error "Invalid option: #{args[0]}. See 'gem --help'." terminate_interaction(1) else cmd_name = args.shift.downcase cmd = find_command(cmd_name) cmd.invoke(*args) end end def find_command(cmd_name) possibilities = find_command_possibilities cmd_name if possibilities.size > 1 then raise "Ambiguous command #{cmd_name} matches [#{possibilities.join(', ')}]" elsif possibilities.size < 1 then raise "Unknown command #{cmd_name}" end self[possibilities.first] end def find_command_possibilities(cmd_name) len = cmd_name.length command_names.select { |n| cmd_name == n[0, len] } end private def load_and_instantiate(command_name) command_name = command_name.to_s const_name = command_name.capitalize.gsub(/_(.)/) { $1.upcase } << "Command" commands = Gem::Commands retried = false begin commands.const_get(const_name).new rescue NameError raise if retried retried = true begin require "rubygems/commands/#{command_name}_command" rescue Exception => e alert_error "Loading command: #{command_name} (#{e.class})\n #{e}" ui.errs.puts "\t#{e.backtrace.join "\n\t"}" if Gem.configuration.backtrace end retry end end end