mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Initialize '@ran_rake' correctly, so we don't have to set it up later and cause confusion
6ec3ba983c
This commit is contained in:
parent
5824981d98
commit
ab8d9a5325
1 changed files with 1 additions and 4 deletions
|
@ -108,7 +108,7 @@ class Gem::Ext::Builder
|
|||
@build_args = build_args
|
||||
@gem_dir = spec.full_gem_path
|
||||
|
||||
@ran_rake = nil
|
||||
@ran_rake = false
|
||||
end
|
||||
|
||||
##
|
||||
|
@ -202,9 +202,6 @@ EOF
|
|||
|
||||
FileUtils.rm_f @spec.gem_build_complete_path
|
||||
|
||||
# FIXME: action at a distance: @ran_rake modified deep in build_extension(). - @duckinator
|
||||
@ran_rake = false # only run rake once
|
||||
|
||||
@spec.extensions.each do |extension|
|
||||
break if @ran_rake
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue