Skip to content

Conversation

@katafrakt
Copy link

When running jruby -S jbundle install after updating to 10.0.1.0 I'm getting the following error:

LoadError: no such file to load -- jar_installer
  require at org/jruby/RubyKernel.java:1183
  require at /home/katafrakt/.local/share/mise/installs/ruby/jruby-10.0.1.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:136
   <main> at /home/katafrakt/.local/share/mise/installs/ruby/jruby-10.0.1.0/lib/ruby/gems/shared/gems/jbundler-0.9.5/lib/jbundler/lock_down.rb:10
  require at org/jruby/RubyKernel.java:1183
  require at /home/katafrakt/.local/share/mise/installs/ruby/jruby-10.0.1.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:136
   <main> at /home/katafrakt/.local/share/mise/installs/ruby/jruby-10.0.1.0/lib/ruby/gems/shared/gems/jbundler-0.9.5/lib/jbundler/cli.rb:24
  require at org/jruby/RubyKernel.java:1183
  require at /home/katafrakt/.local/share/mise/installs/ruby/jruby-10.0.1.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:136
   <main> at /home/katafrakt/.local/share/mise/installs/ruby/jruby-10.0.1.0/lib/ruby/gems/shared/gems/jbundler-0.9.5/bin/jbundle:46
     load at org/jruby/RubyKernel.java:1212
   <main> at /home/katafrakt/.local/share/mise/installs/ruby/jruby-10.0.1.0/bin/jbundle:25

Guessing by 5a1b151, I assumed that a similar change should be made in lock_down.rb and indeed the command runs succesfully after this change.

@chadlwilson
Copy link

chadlwilson commented Oct 24, 2025

Hiya @headius - could you take a look at this when you have a minute? This seems broken on 0.9.5 (I'm looking for warbler given its integration).

Also, did you accidentally forget to commit lib/jbundler/version.rb in a1d07bc ? The CI is getting

There was an error while loading `jbundler.gemspec`: no such file to load -- /home/runner/work/jbundler/jbundler/lib/jbundler/version.rb. Bundler cannot continue.

Edit: Addressed this in an augmented PR in #106 (for a suggested 0.9.6 release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants