Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.127
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby31 /
share /
rubygems /
rubygems /
Delete
Unzip
Name
Size
Permission
Date
Action
commands
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
core_ext
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
defaults
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
ext
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
optparse
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
package
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
request
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
request_set
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
resolver
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
security
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
source
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
ssl_certs
[ DIR ]
drwxr-xr-x
2025-04-28 17:55
tsort
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
util
[ DIR ]
drwxr-xr-x
2025-08-15 19:34
available_set.rb
3.01
KB
-rw-r--r--
2025-04-28 17:56
basic_specification.rb
7.65
KB
-rw-r--r--
2025-04-28 17:56
bundler_version_finder.rb
1.98
KB
-rw-r--r--
2025-04-28 17:56
command.rb
15.82
KB
-rw-r--r--
2025-04-28 17:56
command_manager.rb
5.24
KB
-rw-r--r--
2025-04-28 17:56
compatibility.rb
1
KB
-rw-r--r--
2025-04-28 17:56
config_file.rb
13.23
KB
-rw-r--r--
2025-04-28 17:56
defaults.rb
6.58
KB
-rw-r--r--
2025-04-28 17:56
dependency.rb
8.59
KB
-rw-r--r--
2025-04-28 17:56
dependency_installer.rb
10.22
KB
-rw-r--r--
2025-04-28 17:56
dependency_list.rb
5.54
KB
-rw-r--r--
2025-04-28 17:56
deprecate.rb
4.87
KB
-rw-r--r--
2025-04-28 17:56
doctor.rb
3.13
KB
-rw-r--r--
2025-04-28 17:56
errors.rb
4.52
KB
-rw-r--r--
2025-04-28 17:56
exceptions.rb
7.13
KB
-rw-r--r--
2025-04-28 17:56
ext.rb
497
B
-rw-r--r--
2025-04-28 17:56
gem_runner.rb
1.79
KB
-rw-r--r--
2025-04-28 17:56
gemcutter_utilities.rb
8.88
KB
-rw-r--r--
2025-04-28 17:56
indexer.rb
10.89
KB
-rw-r--r--
2025-04-28 17:56
install_default_message.rb
348
B
-rw-r--r--
2025-04-28 17:56
install_message.rb
322
B
-rw-r--r--
2025-04-28 17:56
install_update_options.rb
6.35
KB
-rw-r--r--
2025-04-28 17:56
installer.rb
26.76
KB
-rw-r--r--
2025-04-28 17:56
installer_uninstaller_utils.rb
773
B
-rw-r--r--
2025-04-28 17:56
local_remote_options.rb
3.56
KB
-rw-r--r--
2025-04-28 17:56
mock_gem_ui.rb
1.38
KB
-rw-r--r--
2025-04-28 17:56
name_tuple.rb
2.39
KB
-rw-r--r--
2025-04-28 17:56
openssl.rb
125
B
-rw-r--r--
2025-04-28 17:56
optparse.rb
72
B
-rw-r--r--
2025-04-28 17:56
package.rb
17.72
KB
-rw-r--r--
2025-04-28 17:56
package_task.rb
3.79
KB
-rw-r--r--
2025-04-28 17:56
path_support.rb
1.78
KB
-rw-r--r--
2025-04-28 17:56
platform.rb
7.61
KB
-rw-r--r--
2025-04-28 17:56
psych_tree.rb
794
B
-rw-r--r--
2025-04-28 17:56
query_utils.rb
8.5
KB
-rw-r--r--
2025-04-28 17:56
rdoc.rb
231
B
-rw-r--r--
2025-04-28 17:56
remote_fetcher.rb
9.2
KB
-rw-r--r--
2025-04-28 17:56
request.rb
8.6
KB
-rw-r--r--
2025-04-28 17:56
request_set.rb
11.3
KB
-rw-r--r--
2025-04-28 17:56
requirement.rb
6.91
KB
-rw-r--r--
2025-04-28 17:56
resolver.rb
9.64
KB
-rw-r--r--
2025-04-28 17:56
s3_uri_signer.rb
5.91
KB
-rw-r--r--
2025-04-28 17:56
safe_yaml.rb
1.51
KB
-rw-r--r--
2025-04-28 17:56
security.rb
22.39
KB
-rw-r--r--
2025-04-28 17:56
security_option.rb
1.06
KB
-rw-r--r--
2025-04-28 17:56
source.rb
5.58
KB
-rw-r--r--
2025-04-28 17:56
source_list.rb
2.41
KB
-rw-r--r--
2025-04-28 17:56
spec_fetcher.rb
6.36
KB
-rw-r--r--
2025-04-28 17:56
specification.rb
70.8
KB
-rw-r--r--
2025-04-28 17:56
specification_policy.rb
12.87
KB
-rw-r--r--
2025-04-28 17:56
stub_specification.rb
4.48
KB
-rw-r--r--
2025-04-28 17:56
text.rb
1.98
KB
-rw-r--r--
2025-04-28 17:56
tsort.rb
66
B
-rw-r--r--
2025-04-28 17:56
uninstaller.rb
10.2
KB
-rw-r--r--
2025-04-28 17:56
unknown_command_spell_checker.rb
411
B
-rw-r--r--
2025-04-28 17:56
uri.rb
2.33
KB
-rw-r--r--
2025-04-28 17:56
uri_formatter.rb
781
B
-rw-r--r--
2025-04-28 17:56
user_interaction.rb
13.01
KB
-rw-r--r--
2025-04-28 17:56
util.rb
2.5
KB
-rw-r--r--
2025-04-28 17:56
validator.rb
3.65
KB
-rw-r--r--
2025-04-28 17:56
version.rb
12.57
KB
-rw-r--r--
2025-04-28 17:56
version_option.rb
2.21
KB
-rw-r--r--
2025-04-28 17:56
Save
Rename
# frozen_string_literal: true require_relative "../rubygems" require_relative "user_interaction" ## # Cleans up after a partially-failed uninstall or for an invalid # Gem::Specification. # # If a specification was removed by hand this will remove any remaining files. # # If a corrupt specification was installed this will clean up warnings by # removing the bogus specification. class Gem::Doctor include Gem::UserInteraction ## # Maps a gem subdirectory to the files that are expected to exist in the # subdirectory. REPOSITORY_EXTENSION_MAP = [ # :nodoc: ["specifications", ".gemspec"], ["build_info", ".info"], ["cache", ".gem"], ["doc", ""], ["extensions", ""], ["gems", ""], ["plugins", ""], ].freeze missing = Gem::REPOSITORY_SUBDIRECTORIES.sort - REPOSITORY_EXTENSION_MAP.map {|(k,_)| k }.sort raise "Update REPOSITORY_EXTENSION_MAP, missing: #{missing.join ', '}" unless missing.empty? ## # Creates a new Gem::Doctor that will clean up +gem_repository+. Only one # gem repository may be cleaned at a time. # # If +dry_run+ is true no files or directories will be removed. def initialize(gem_repository, dry_run = false) @gem_repository = gem_repository @dry_run = dry_run @installed_specs = nil end ## # Specs installed in this gem repository def installed_specs # :nodoc: @installed_specs ||= Gem::Specification.map {|s| s.full_name } end ## # Are we doctoring a gem repository? def gem_repository? !installed_specs.empty? end ## # Cleans up uninstalled files and invalid gem specifications def doctor @orig_home = Gem.dir @orig_path = Gem.path say "Checking #{@gem_repository}" Gem.use_paths @gem_repository.to_s unless gem_repository? say "This directory does not appear to be a RubyGems repository, " + "skipping" say return end doctor_children say ensure Gem.use_paths @orig_home, *@orig_path end ## # Cleans up children of this gem repository def doctor_children # :nodoc: REPOSITORY_EXTENSION_MAP.each do |sub_directory, extension| doctor_child sub_directory, extension end end ## # Removes files in +sub_directory+ with +extension+ def doctor_child(sub_directory, extension) # :nodoc: directory = File.join(@gem_repository, sub_directory) Dir.entries(directory).sort.each do |ent| next if ent == "." || ent == ".." child = File.join(directory, ent) next unless File.exist?(child) basename = File.basename(child, extension) next if installed_specs.include? basename next if /^rubygems-\d/ =~ basename next if "specifications" == sub_directory && "default" == basename next if "plugins" == sub_directory && Gem.plugin_suffix_regexp =~ (basename) type = File.directory?(child) ? "directory" : "file" action = if @dry_run "Extra" else FileUtils.rm_r(child) "Removed" end say "#{action} #{type} #{sub_directory}/#{File.basename(child)}" end rescue Errno::ENOENT # ignore end end