End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
URI::File#check_password
check_password(user)
lib/uri/file.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/uri/file.rb, line 76
def check_password(user)
raise URI::InvalidURIError, "can not set password for file URI"
end
raise InvalidURIError