summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-04-13 13:40:57 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-04-13 13:40:57 +0900
commit3112475469e35b522448858d23ee1651532276e7 (patch)
treeaab8ebbd1f1224baeae98dc234f1b897701d61cf
parent4246e102d49eae0bd1bca01fba53286ad8178d2a (diff)
Skip build extensions again on mswin and mingw
-rwxr-xr-xtool/rbinstall.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 0d0f6b2f79..bce02f8624 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -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}