? GR0V Shell

GR0V shell

Linux server122.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64

Path : /opt/alt/ruby26/lib64/ruby/2.6.0/bundler/
File Upload :
Current File : //opt/alt/ruby26/lib64/ruby/2.6.0/bundler/psyched_yaml.rb

# frozen_string_literal: true

# Psych could be a gem, so try to ask for it
begin
  gem "psych"
rescue LoadError
end if defined?(gem)

# Psych could be in the stdlib
# but it's too late if Syck is already loaded
begin
  require "psych" unless defined?(Syck)
rescue LoadError
  # Apparently Psych wasn't available. Oh well.
end

# At least load the YAML stdlib, whatever that may be
require "yaml" unless defined?(YAML.dump)

module Bundler
  # On encountering invalid YAML,
  # Psych raises Psych::SyntaxError
  if defined?(::Psych::SyntaxError)
    YamlLibrarySyntaxError = ::Psych::SyntaxError
  else # Syck raises ArgumentError
    YamlLibrarySyntaxError = ::ArgumentError
  end
end

require "bundler/deprecate"
begin
  Bundler::Deprecate.skip_during do
    require "rubygems/safe_yaml"
  end
rescue LoadError
  # it's OK if the file isn't there
end

T1KUS90T
  root-grov@198.54.114.191:~$