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>'
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:
When I try to run a build with this test app, I get:
When I try to run a build from another project I receive: