Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix fetcher with sources that don't support prerelease gems

  • Loading branch information...
commit f71521e5d60478e9aba9f534bc6cda7ba21557f0 1 parent 500adb9
@jeremy jeremy authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/bundler/source.rb
View
1  lib/bundler/source.rb
@@ -92,6 +92,7 @@ def fetch_prerelease_specs
Marshal.load(Gem::RemoteFetcher.fetcher.fetch_path("#{uri}/prerelease_specs.4.8.gz"))
rescue Gem::RemoteFetcher::FetchError
Bundler.logger.warn "Source '#{uri}' does not support prerelease gems"
+ []
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.