class Bundler::Fetcher::AuthenticationRequiredError

当需要 HTTP 身份验证,但未提供时,会引发此错误。

公共类方法

new(remote_uri) 点击切换源代码
调用父类方法
# File bundler/fetcher.rb, line 48
def initialize(remote_uri)
  remote_uri = filter_uri(remote_uri)
  super "Authentication is required for #{remote_uri}.\n" \
    "Please supply credentials for this source. You can do this by running:\n" \
    "`bundle config set --global #{remote_uri} username:password`\n" \
    "or by storing the credentials in the `#{Settings.key_for(remote_uri)}` environment variable"
end