Since 4.5.0 (switch to Zeitwerk, commit 3256597), require 'simple-navigation' raises a LoadError under JRuby 10.1.1.0. MRI 3.2–4.0 and TruffleRuby are unaffected.
LoadError: cannot load such file -- .../simple-navigation-4.5.0/lib/simple_navigation/renderer
.../lib/simple_navigation.rb:46:in '<module:SimpleNavigation>'
Line 46 (list: SimpleNavigation::Renderer::List) is the first reference to the implicit namespace SimpleNavigation::Renderer, inferred by Zeitwerk from the renderer/ directory (there is no renderer.rb). Zeitwerk 2.8.2 does not resolve this implicit namespace under JRuby.
Environment: JRuby 10.1.1.0, zeitwerk 2.8.2, simple-navigation 4.5.0.
Likely a Zeitwerk/JRuby implicit-namespace incompatibility rather than a bug in this gem's code; opening here since this is where the regression surfaces. A minimal reproduction outside simple-navigation would confirm whether it belongs upstream in Zeitwerk.
Since 4.5.0 (switch to Zeitwerk, commit 3256597),
require 'simple-navigation'raises aLoadErrorunder JRuby 10.1.1.0. MRI 3.2–4.0 and TruffleRuby are unaffected.Line 46 (
list: SimpleNavigation::Renderer::List) is the first reference to the implicit namespaceSimpleNavigation::Renderer, inferred by Zeitwerk from therenderer/directory (there is norenderer.rb). Zeitwerk 2.8.2 does not resolve this implicit namespace under JRuby.Environment: JRuby 10.1.1.0, zeitwerk 2.8.2, simple-navigation 4.5.0.
Likely a Zeitwerk/JRuby implicit-namespace incompatibility rather than a bug in this gem's code; opening here since this is where the regression surfaces. A minimal reproduction outside simple-navigation would confirm whether it belongs upstream in Zeitwerk.