You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Programmers (in the broadest sense of the word) are seldom use an environment without Git. However, when I tried to install the minimap2 gem on our new Windows machine, it failed. This is because ruby-minimap2 uses the git apply command to adapt the patch file before compiling minimap2 to create a shared library.
C:\Users\kojix>gem install minimap2
Fetching minimap2-0.2.26.1.gemFetching ffi-1.15.5.gemFetching ffi-bitfield-0.0.7.gemBuilding native extensions. This could take a while...Successfully installed ffi-1.15.5Successfully installed ffi-bitfield-0.0.7Building native extensions. This could take a while...ERROR: Error installing minimap2: ERROR: Failed to build gem native extension. current directory: C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/minimap2-0.2.26.1/extC:/Ruby32-x64/bin/ruby.exe -rrubygems C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/rake-13.0.6/exe/rake RUBYARCHDIR\=C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/minimap2-0.2.26.1 RUBYLIBDIR\=C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/minimap2-0.2.26.1git apply ../minimap2.patchrake aborted!Command failed with status (127): [git apply ../minimap2.patch...]Tasks: TOP => default => minimap2:build(See full trace by running task with --trace)rake failed, exit code 1Gem files will remain installed in C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/minimap2-0.2.26.1 for inspection.Results logged to C:/Ruby32-x64/lib/ruby/gems/3.2.0/extensions/x64-mingw-ucrt/3.2.0/minimap2-0.2.26.1/gem_make.out
This is not likely to be a serious problem for many users, but a more clear error message might be better.
The text was updated successfully, but these errors were encountered:
Programmers (in the broadest sense of the word) are seldom use an environment without Git. However, when I tried to install the minimap2 gem on our new Windows machine, it failed. This is because ruby-minimap2 uses the
git apply
command to adapt the patch file before compiling minimap2 to create a shared library.This is not likely to be a serious problem for many users, but a more clear error message might be better.
The text was updated successfully, but these errors were encountered: