Unable to install Warbler off master - get File loading error -- warbler_jar
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- build-system
Línea de trabajo
The failure is a LoadError for warbler_jar raised from lib/warbler/jar.rb (around lines 12, 19 and 336) when running under JRuby 10.0.4.0, and from the Rakefile line 8 in the linked test app. Start by checking how warbler_jar is resolved and whether the bundled-gems require replacement in that path is responsible, then try rails war or bundle exec warble on the test repo. Done means the build produces a .war file on JRuby 10 without the LoadError. This needs JRuby and Warbler packaging knowledge, and the thread has had no reply for six months.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I’m testing a Rails 8.0.4 app on JRuby 10.0.4.0 using warbler from the master branch (as of April 7, 2026), and running into a build failure.
I've forked a previous reports minimal test app (from #560) for this test. The app is completely minimal and exists specifically to demonstrate this problem. You can find it here:
https://github.com/sis-berkeley-edu/warbler_test
Environment:
- JRuby: 10.0.4.0
- Rails: 8.0.4
- Java: OpenJDK 21.0.8
- Tomcat: 9.0.117
- OS: macOS Sequoia 15.7.3 (Apple Silicon)
- jruby-rack: master branch from jruby/jruby-rack
- warbler: master branch from jruby/warbler
When I try to run a build with this test app, I get:
$ rails war
bin/rails aborted!
LoadError: cannot load such file -- warbler_jar (LoadError)
/Users/jason.c.miller/Developer/warbler_test/Rakefile:8:in '<main>'
bin/rails:4:in '<main>'
(See full trace by running task with --trace)
When I try to run a build from another project I receive:
$ bundle exec warble
bundler: failed to load command: warble (/Users/jason.c.miller/.rbenv/versions/jruby-10.0.4.0/lib/ruby/gems/shared/bin/warble)
org/jruby/RubyKernel.java:1193:in 'require': cannot load such file -- warbler_jar (LoadError)
from /Users/jason.c.miller/.rbenv/versions/jruby-10.0.4.0/lib/ruby/stdlib/bundled_gems.rb:81:in 'block in replace_require'
from /Users/jason.c.miller/.rbenv/versions/jruby-10.0.4.0/lib/ruby/gems/shared/bundler/gems/warbler-95db95756ebd/lib/warbler/jar.rb:336:in '<class:Jar>'
from /Users/jason.c.miller/.rbenv/versions/jruby-10.0.4.0/lib/ruby/gems/shared/bundler/gems/warbler-95db95756ebd/lib/warbler/jar.rb:19:in '<module:Warbler>'
from /Users/jason.c.miller/.rbenv/versions/jruby-10.0.4.0/lib/ruby/gems/shared/bundler/gems/warbler-95db95756ebd/lib/warbler/jar.rb:12:in '<main>'
- Lenguaje dominante
- Ruby
- Estrellas
- 901
- Forks
- 206
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 3
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de jruby/warbler
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
Dificultad 4/5 Más de una semana Aptitud para principiantes 25/100
-
Support Java module systemAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Todos los issues de jruby/warbler
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
`to_rel` renders the root directory as `//`, so `judges test /` prints "Testing judges in //"Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días