Sha256: 7f7d1966ae3a481911b82b5c04da69d7ecc49ef716980cd7eb30035963640a22

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 Bytes

Contents

# frozen_string_literal: true

# Note:
# RubyInstaller2’s `rubygems/defaults/operating_system.rb`
# loads before this file, patch it immediately.
begin
  require 'ruby_installer/runtime/msys2_installation'
rescue LoadError
  # ignore
else
  # Skip check MSYS2 when installing gems
  class RubyInstaller::Runtime::Msys2Installation
    alias _original_ruby_installer__enable_msys_apps enable_msys_apps
    def enable_msys_apps(for_gem_install: nil, **kwargs)
      _original_ruby_installer__enable_msys_apps(for_gem_install:, **kwargs) unless for_gem_install
    end
  end
end

Gem.pre_install { require_relative 'mingw-make' }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mingw-make-1.0.0-x64-mingw-ucrt lib/rubygems_plugin.rb