Files
news.gitea.happylizard.me/bin/gems/bundler-2.5.9/lib/bundler/vendored_uri.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

22 lines
496 B
Ruby

# frozen_string_literal: true
module Bundler; end
# Use RubyGems vendored copy when available. Otherwise fallback to Bundler
# vendored copy. The vendored copy in Bundler can be removed once support for
# RubyGems 3.5 is dropped.
begin
require "rubygems/vendor/uri/lib/uri"
rescue LoadError
require_relative "vendor/uri/lib/uri"
Gem::URI = Bundler::URI
module Gem
def URI(uri) # rubocop:disable Naming/MethodName
Bundler::URI(uri)
end
module_function :URI
end
end