On this page
class Bundler::Fetcher::AuthenticationRequiredError
This error is raised if HTTP authentication is required, but not provided.
Public Class Methods
# File lib/bundler/fetcher.rb, line 43
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 #{remote_uri} username:password"
end
Calls superclass method
Exception::new
Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.