Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions lib/rubygems/ext/builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ def initialize(spec, build_args = spec.build_args, target_rbconfig = Gem.target_
@gem_dir = spec.full_gem_path
@target_rbconfig = target_rbconfig
@build_jobs = build_jobs

@ran_rake = false
end

##
Expand All @@ -177,7 +175,6 @@ def builder_for(extension) # :nodoc:
when /configure/ then
Gem::Ext::ConfigureBuilder
when /rakefile/i, /mkrf_conf/i then
@ran_rake = true
Gem::Ext::RakeBuilder
when /CMakeLists.txt/ then
Gem::Ext::CmakeBuilder.new
Expand Down Expand Up @@ -250,8 +247,6 @@ def build_extensions
FileUtils.rm_f @spec.gem_build_complete_path

@spec.extensions.each do |extension|
break if @ran_rake

build_extension extension, dest_path
end

Expand Down