You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bundling and generating war files via bundle exec warble runnable war run fine, but when trying to run a war file generated by warbler via java -jar cdc.war -S rake -T results in the this error:
Bundler::GemNotFound: Could not find jruby-openssl-0.9.21-java in any of the sources
materialize at /tmp/jruby2323949162897933825extract/gems/gems/bundler-1.17.3/lib/bundler/spec_set.rb:91
map! at org/jruby/RubyArray.java:2609
materialize at /tmp/jruby2323949162897933825extract/gems/gems/bundler-1.17.3/lib/bundler/spec_set.rb:85
specs at /tmp/jruby2323949162897933825extract/gems/gems/bundler-1.17.3/lib/bundler/definition.rb:170
specs_for at /tmp/jruby2323949162897933825extract/gems/gems/bundler-1.17.3/lib/bundler/definition.rb:237
setup at /tmp/jruby2323949162897933825extract/gems/gems/bundler-1.17.3/lib/bundler/runtime.rb:20
setup at /tmp/jruby2323949162897933825extract/gems/gems/bundler-1.17.3/lib/bundler.rb:109
jruby: 9.1.17.0, bundler 1.17.3, warbler 2.0.5
It appears that this is an issue related to bundling default gems and has been present for others (#482 , #472, #376), but there has been no solution that I can find. I attempted to run with bundler 2.1.4, and received the same error for rake-10.5.0 instead.
The text was updated successfully, but these errors were encountered:
Walking through how warbler handles dependencies, it looks like full_gem_path.exist? is false, caused by a missing gems directory for jruby-openssl in shared/gems. The spec file still exists as part of the shared/specifications/default directory.
warn "skipping #{spec.name} default gem (assuming its part of jruby-jars #{JRubyJars::VERSION})" is suppressed, making this failure silent.
Sorry for the delay. Apparently the issue was caused by the jruby-jars gem version not matching the jruby version. Might be worthwhile to make the warning for the mismatch more explicit and not suppressed.
Bundling and generating war files via
bundle exec warble runnable war
run fine, but when trying to run a war file generated by warbler viajava -jar cdc.war -S rake -T
results in the this error:jruby: 9.1.17.0, bundler 1.17.3, warbler 2.0.5
It appears that this is an issue related to bundling default gems and has been present for others (#482 , #472, #376), but there has been no solution that I can find. I attempted to run with bundler 2.1.4, and received the same error for
rake-10.5.0
instead.The text was updated successfully, but these errors were encountered: