mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Move 'build_for' to handle extension type before the extension is used
https://github.com/rubygems/rubygems/commit/2a32c5ef0a
This commit is contained in:
parent
9dc0f39de5
commit
b73ad4999a
1 changed files with 2 additions and 2 deletions
|
@ -164,12 +164,12 @@ EOF
|
|||
# - @duckinator
|
||||
extension ||= '' # I wish I knew why this line existed
|
||||
|
||||
builder = builder_for(extension)
|
||||
|
||||
extension_dir =
|
||||
File.expand_path File.join(@gem_dir, File.dirname(extension))
|
||||
lib_dir = File.join @spec.full_gem_path, @spec.raw_require_paths.first
|
||||
|
||||
builder = builder_for extension
|
||||
|
||||
begin
|
||||
FileUtils.mkdir_p dest_path
|
||||
|
||||
|
|
Loading…
Reference in a new issue