summaryrefslogtreecommitdiff
path: root/lib/rubygems/local_remote_options.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/local_remote_options.rb2
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ module Gem::LocalRemoteOptions
valid_uri_schemes = ["http", "https", "file", "s3"]
unless valid_uri_schemes.include?(uri.scheme)
- msg = "Invalid uri scheme for #{value}\nPreface URLs with one of #{valid_uri_schemes.map{|s| "#{s}://"}}"
raise ArgumentError, msg
end