Linux tsuru-no-tsurugi 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.0.18 & Your IP : 216.73.216.68
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
3.0.0 /
bundler /
vendor /
thor /
lib /
thor /
Delete
Unzip
Name
Size
Permission
Date
Action
actions
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
core_ext
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
line_editor
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
parser
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
shell
[ DIR ]
drwxr-xr-x
2026-07-06 06:50
actions.rb
10.43
KB
-rw-r--r--
2021-07-07 19:08
base.rb
24.18
KB
-rw-r--r--
2021-07-07 19:08
command.rb
4.63
KB
-rw-r--r--
2021-07-07 19:08
error.rb
3.22
KB
-rw-r--r--
2021-07-07 19:08
group.rb
8.85
KB
-rw-r--r--
2021-07-07 19:08
invocation.rb
6.07
KB
-rw-r--r--
2021-07-07 19:08
line_editor.rb
391
B
-rw-r--r--
2021-07-07 19:08
nested_context.rb
299
B
-rw-r--r--
2021-07-07 19:08
parser.rb
138
B
-rw-r--r--
2021-07-07 19:08
rake_compat.rb
2.12
KB
-rw-r--r--
2021-07-07 19:08
runner.rb
9.85
KB
-rw-r--r--
2021-07-07 19:08
shell.rb
2.29
KB
-rw-r--r--
2021-07-07 19:08
util.rb
8.83
KB
-rw-r--r--
2021-07-07 19:08
version.rb
44
B
-rw-r--r--
2021-07-07 19:08
Save
Rename
class Bundler::Thor Correctable = if defined?(DidYouMean::SpellChecker) && defined?(DidYouMean::Correctable) # rubocop:disable Naming/ConstantName # In order to support versions of Ruby that don't have keyword # arguments, we need our own spell checker class that doesn't take key # words. Even though this code wouldn't be hit because of the check # above, it's still necessary because the interpreter would otherwise be # unable to parse the file. class NoKwargSpellChecker < DidYouMean::SpellChecker # :nodoc: def initialize(dictionary) @dictionary = dictionary end end DidYouMean::Correctable end # Bundler::Thor::Error is raised when it's caused by wrong usage of thor classes. Those # errors have their backtrace suppressed and are nicely shown to the user. # # Errors that are caused by the developer, like declaring a method which # overwrites a thor keyword, SHOULD NOT raise a Bundler::Thor::Error. This way, we # ensure that developer errors are shown with full backtrace. class Error < StandardError end # Raised when a command was not found. class UndefinedCommandError < Error class SpellChecker attr_reader :error def initialize(error) @error = error end def corrections @corrections ||= spell_checker.correct(error.command).map(&:inspect) end def spell_checker NoKwargSpellChecker.new(error.all_commands) end end attr_reader :command, :all_commands def initialize(command, all_commands, namespace) @command = command @all_commands = all_commands message = "Could not find command #{command.inspect}" message = namespace ? "#{message} in #{namespace.inspect} namespace." : "#{message}." super(message) end prepend Correctable if Correctable end UndefinedTaskError = UndefinedCommandError class AmbiguousCommandError < Error end AmbiguousTaskError = AmbiguousCommandError # Raised when a command was found, but not invoked properly. class InvocationError < Error end class UnknownArgumentError < Error class SpellChecker attr_reader :error def initialize(error) @error = error end def corrections @corrections ||= error.unknown.flat_map { |unknown| spell_checker.correct(unknown) }.uniq.map(&:inspect) end def spell_checker @spell_checker ||= NoKwargSpellChecker.new(error.switches) end end attr_reader :switches, :unknown def initialize(switches, unknown) @switches = switches @unknown = unknown super("Unknown switches #{unknown.map(&:inspect).join(', ')}") end prepend Correctable if Correctable end class RequiredArgumentMissingError < InvocationError end class MalformattedArgumentError < InvocationError end if Correctable DidYouMean::SPELL_CHECKERS.merge!( 'Bundler::Thor::UndefinedCommandError' => UndefinedCommandError::SpellChecker, 'Bundler::Thor::UnknownArgumentError' => UnknownArgumentError::SpellChecker ) end end