-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
The ruby-filemagic gem has several incompatibilities with RubyInstaller-2.4.
- The
ruby_filemagic.soload error in the binary gem can probably be fixed perRubyInstaller::Runtime.add_dll_directory- see here. - The gem should add a msys2 library dependency to the
mingw-w64-filepackage to support native builds. I already opened a PR to make it available in the MSYS2 repo. - The gem should not search in
/usr/includeor/usr/libon MINGW. These directories contain CYGWIN/MSYS2 related files, which can not be used together with RubyInstaller. For RubyInstaller-2.4 it's enough to use the predefined library paths, provided thefilepackage is installed.dir_configis usually not necessary. - As a recommendation: rake-compiler-dock is maybe a more standardized way to build binary Windows gems. It can replace the project specific Dockerfile and docker handling.
This came up due to the following issue on RubyInstaller: oneclick/rubyinstaller2#64
Metadata
Metadata
Assignees
Labels
No labels