$25 GRAYBYTE WORDPRESS FILE MANAGER $22

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/bundler/cli/

HOME
Current File : /opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/bundler/cli//open.rb
# frozen_string_literal: true

require "shellwords"

module Bundler
  class CLI::Open
    attr_reader :options, :name
    def initialize(options, name)
      @options = options
      @name = name
    end

    def run
      editor = [ENV["BUNDLER_EDITOR"], ENV["VISUAL"], ENV["EDITOR"]].find {|e| !e.nil? && !e.empty? }
      return Bundler.ui.info("To open a bundled gem, set $EDITOR or $BUNDLER_EDITOR") unless editor
      return unless spec = Bundler::CLI::Common.select_spec(name, :regex_match)
      if spec.default_gem?
        Bundler.ui.info "Unable to open #{name} because it's a default gem, so the directory it would normally be installed to does not exist."
      else
        path = spec.full_gem_path
        Dir.chdir(path) do
          command = Shellwords.split(editor) + [path]
          Bundler.with_original_env do
            system(*command)
          end || Bundler.ui.info("Could not run '#{command.join(" ")}'")
        end
      end
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.21 AM
root / root
0755
add.rb
1.46 KB
30 Mar 2023 12.34 PM
root / root
0644
binstubs.rb
1.649 KB
30 Mar 2023 12.34 PM
root / root
0644
cache.rb
1.373 KB
30 Mar 2023 12.34 PM
root / root
0644
check.rb
1.24 KB
30 Mar 2023 12.34 PM
root / root
0644
clean.rb
0.592 KB
30 Mar 2023 12.34 PM
root / root
0644
common.rb
3.511 KB
30 Mar 2023 12.34 PM
root / root
0644
config.rb
5.872 KB
30 Mar 2023 12.34 PM
root / root
0644
console.rb
1.05 KB
30 Mar 2023 12.34 PM
root / root
0644
doctor.rb
3.878 KB
30 Mar 2023 12.34 PM
root / root
0644
exec.rb
2.626 KB
30 Mar 2023 12.34 PM
root / root
0644
gem.rb
8.571 KB
30 Mar 2023 12.34 PM
root / root
0644
info.rb
1.752 KB
30 Mar 2023 12.34 PM
root / root
0644
init.rb
1.157 KB
30 Mar 2023 12.34 PM
root / root
0644
inject.rb
2.114 KB
30 Mar 2023 12.34 PM
root / root
0644
install.rb
8.813 KB
30 Mar 2023 12.34 PM
root / root
0644
issue.rb
1.248 KB
30 Mar 2023 12.34 PM
root / root
0644
list.rb
1.935 KB
30 Mar 2023 12.34 PM
root / root
0644
lock.rb
1.769 KB
30 Mar 2023 12.34 PM
root / root
0644
open.rb
0.954 KB
30 Mar 2023 12.34 PM
root / root
0644
outdated.rb
8.334 KB
30 Mar 2023 12.34 PM
root / root
0644
package.rb
1.377 KB
30 Mar 2023 12.34 PM
root / root
0644
platform.rb
1.382 KB
30 Mar 2023 12.34 PM
root / root
0644
plugin.rb
1.313 KB
30 Mar 2023 12.34 PM
root / root
0644
pristine.rb
1.495 KB
30 Mar 2023 12.34 PM
root / root
0644
remove.rb
0.366 KB
30 Mar 2023 12.34 PM
root / root
0644
show.rb
2.225 KB
30 Mar 2023 12.34 PM
root / root
0644
update.rb
3.833 KB
30 Mar 2023 12.34 PM
root / root
0644
viz.rb
1.061 KB
30 Mar 2023 12.34 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF