1 From e581b423e7e0df1dc1615d7b35ac17475b2c51d5 Mon Sep 17 00:00:00 2001
2 From: Alexander Pyhalov <apyhalov@gmail.com>
3 Date: Wed, 30 Nov 2016 16:09:17 +0300
4 Subject: [PATCH] Revert "Allow installing a gem inside a rescue block"
6 This reverts commit ae4b5336efe559b83d7ccd06ffca46f70c6e948e.
8 This commit breaks documentation generation when install-dir is used
10 https://github.com/rubygems/rubygems/issues/1470
12 lib/rubygems/request_set.rb | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
15 diff --git a/lib/rubygems/request_set.rb b/lib/rubygems/request_set.rb
16 index 95a8eed..fa5ab1f 100644
17 --- a/lib/rubygems/request_set.rb
18 +++ b/lib/rubygems/request_set.rb
19 @@ -187,6 +187,9 @@ class Gem::RequestSet
26 return requests if options[:gemdeps]
28 specs = requests.map do |request|
29 @@ -205,8 +208,6 @@ class Gem::RequestSet
30 Gem.done_installing_hooks.each do |hook|
32 end unless Gem.done_installing_hooks.empty?