class Bundler::URI::File

def check_user(user)

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