123456789_123456789_123456789_123456789_123456789_

Exception: Bundler::Fetcher::AuthenticationForbiddenError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Bundler::HTTPError
Defined in: lib/bundler/fetcher.rb

Overview

This error is raised if HTTP authentication is correct, but lacks necessary permissions.

Class Method Summary

Instance Method Summary

Constructor Details

.new(remote_uri) ⇒ AuthenticationForbiddenError

[ GitHub ]

  
# File 'lib/bundler/fetcher.rb', line 67

def initialize(remote_uri)
  remote_uri = filter_uri(remote_uri)
  super "Access token could not be authenticated for #{remote_uri}.\n" \
    "Make sure it's valid and has the necessary scopes configured."
end