Skip to content

Commit

Permalink
Don't suggest retrying with --full-index on gemspec errors
Browse files Browse the repository at this point in the history
We're actually already using the full index here, so it makes no sense
to suggest retrying the same thing.
  • Loading branch information
deivid-rodriguez authored and hsbt committed Mar 23, 2023
1 parent 164dc58 commit c3fa667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/remote_specification.rb
Expand Up @@ -102,7 +102,7 @@ def to_ary
def _remote_specification
@_remote_specification ||= @spec_fetcher.fetch_spec([@name, @version, @original_platform])
@_remote_specification || raise(GemspecError, "Gemspec data for #{full_name} was" \
" missing from the server! Try installing with `--full-index` as a workaround.")
" missing from the server!")
end

def method_missing(method, *args, &blk)
Expand Down

0 comments on commit c3fa667

Please sign in to comment.