diff options
Diffstat (limited to 'lib/bundler/fetcher.rb')
-rw-r--r-- | lib/bundler/fetcher.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb index abdf2a07fd..235eb9bbd3 100644 --- a/lib/bundler/fetcher.rb +++ b/lib/bundler/fetcher.rb @@ -47,7 +47,7 @@ module Bundler 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 #{remote_uri} username:password" + " bundle config set --global #{remote_uri} username:password" end end # This error is raised if HTTP authentication is provided, but incorrect. @@ -216,7 +216,7 @@ module Bundler "#<#{self.class}:0x#{object_id} uri=#{uri}>" end - private + private FETCHERS = [CompactIndex, Dependency, Index].freeze @@ -303,7 +303,7 @@ module Bundler store end - private + private def remote_uri @remote.uri |