1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Skip build extensions again on mswin and mingw

This commit is contained in:
Kazuhiro NISHIYAMA 2022-04-13 13:40:57 +09:00
parent 4246e102d4
commit 3112475469
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -853,6 +853,9 @@ module RbInstall
def write_cache_file
end
def build_extensions
end if /mswin|mingw/ =~ RUBY_PLATFORM
def shebang(bin_file_name)
path = File.join(gem_dir, spec.bindir, bin_file_name)
first_line = File.open(path, "rb") {|file| file.gets}