class Bundler::URI::File

def check_userinfo(user)

raise InvalidURIError
def check_userinfo(user)
  raise Bundler::URI::InvalidURIError, "can not set userinfo for file Bundler::URI"
end