Skip to content

Instantly share code, notes, and snippets.

@panyamin
Last active February 20, 2016 15:07
Show Gist options
  • Save panyamin/8d7c03cfbf8d558b1e3f to your computer and use it in GitHub Desktop.
Save panyamin/8d7c03cfbf8d558b1e3f to your computer and use it in GitHub Desktop.
Ruby 2.3.0 on Cygwin x64 with backport patch
Index: extmk.rb
===================================================================
--- ext/extmk.rb (revision 53867)
+++ ext/extmk.rb (revision 53868)
@@ -494,7 +494,10 @@
ext_prefix = "#{$top_srcdir}/ext"
exts = $static_ext.sort_by {|t, i| i}.collect {|t, i| t}
default_exclude_exts =
- if $mswin or $mingw
+ case
+ when $cygwin
+ %w''
+ when $mswin, $mingw
%w'pty syslog'
else
%w'*win32*'
@panyamin
Copy link
Author

This new patch is the correct way to fix the issue with gem installation. Patch will be backported. See https://bugs.ruby-lang.org/issues/12071

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment