From e25c173c97e1e0e538aeb85734cabcbb59cd11ab Mon Sep 17 00:00:00 2001 From: Joel Anderson Date: Thu, 15 Dec 2022 23:46:56 -0500 Subject: [PATCH] [ruby/reline] correct Win32API capitalization for JRuby JRuby 9.4.0.0 introduced a change in case sensitivity in require statements, meaning that an inclusion of `win32api` loaded Win32API.rb. With this change, the require statement needs to be updated to the correct capitalization of the filename to avoid reline failures in newer versions of JRuby. https://github.com/ruby/reline/commit/d6e7c9e1d9 --- lib/reline/windows.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reline/windows.rb b/lib/reline/windows.rb index b952329911..c572197472 100644 --- a/lib/reline/windows.rb +++ b/lib/reline/windows.rb @@ -53,7 +53,7 @@ class Reline::Windows end if defined? JRUBY_VERSION - require 'win32api' + require 'Win32API' else class Win32API DLL = {}