Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Unable to install Warbler off master - get File loading error -- warbler_jar

Abierto
#620 3 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Stack tecnológico
java, rails, ruby
Á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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de jruby/warbler

Todos los issues de jruby/warbler

Issues similares

Más issues de Ruby

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.