diff options
author | Andre Arko <andre@arko.net> | 2015-08-22 16:06:37 -0700 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-01-25 10:45:41 -0600 |
commit | 95535b4f66c75215f0852835fc0e1808bc82c7a8 (patch) | |
tree | 1439c9bbcbc76b9638d4c96a31596031fff45eba /lib/bundler/remote_specification.rb | |
parent | 53afc9fe55f82f9d03a61b63c8e7d804f62ee76c (diff) | |
download | bundler-95535b4f66c75215f0852835fc0e1808bc82c7a8.tar.gz |
raise when fetch_spec fails
Diffstat (limited to 'lib/bundler/remote_specification.rb')
-rw-r--r-- | lib/bundler/remote_specification.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/remote_specification.rb b/lib/bundler/remote_specification.rb index 425c42fbc1..2fc5741f0b 100644 --- a/lib/bundler/remote_specification.rb +++ b/lib/bundler/remote_specification.rb @@ -69,6 +69,7 @@ module Bundler def _remote_specification @_remote_specification ||= @spec_fetcher.fetch_spec([@name, @version, @platform]) + @_remote_specification || raise(GemspecError, "Couldn't fetch specification for #{full_name}") end def method_missing(method, *args, &blk) |