Skip to content

Commit 3aa866c

Browse files
JasonLunnmatzbot
authored andcommitted
[ruby/rubygems] Remove special behavior for rake
Fixes ruby/rubygems#9244 ruby/rubygems@7dc3d43d2e
1 parent 6f1453d commit 3aa866c

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎lib/rubygems/ext/builder.rb‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ def initialize(spec, build_args = spec.build_args, target_rbconfig = Gem.target_
163163
@gem_dir = spec.full_gem_path
164164
@target_rbconfig = target_rbconfig
165165
@build_jobs = build_jobs
166-
167-
@ran_rake = false
168166
end
169167

170168
##
@@ -177,7 +175,6 @@ def builder_for(extension) # :nodoc:
177175
when /configure/ then
178176
Gem::Ext::ConfigureBuilder
179177
when /rakefile/i, /mkrf_conf/i then
180-
@ran_rake = true
181178
Gem::Ext::RakeBuilder
182179
when /CMakeLists.txt/ then
183180
Gem::Ext::CmakeBuilder.new
@@ -250,8 +247,6 @@ def build_extensions
250247
FileUtils.rm_f @spec.gem_build_complete_path
251248

252249
@spec.extensions.each do |extension|
253-
break if @ran_rake
254-
255250
build_extension extension, dest_path
256251
end
257252

0 commit comments

Comments
 (0)