mkristian / jar-dependencies

manage jar dependencies for ruby gems
MIT License
34 stars 19 forks source link

breaks older compatibility (jruby 1.7.4) #57

Closed kares closed 7 years ago

kares commented 7 years ago

which is probably fine, but I might look into fixing it later (used during jossl test runs on travis-ci)

[INFO] RuntimeError: 
[INFO] 
[INFO]  you might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with `lock_jars` command
[INFO] 
[INFO] no such file to load -- rubygems/request (LoadError)
[INFO]               do_require at /home/travis/build/jruby/jruby-openssl/pkg/rubygems-test/gems/jar-dependencies-0.3.10/lib/jar_dependencies.rb:348
[INFO]              require_jar at /home/travis/build/jruby/jruby-openssl/pkg/rubygems-test/gems/jar-dependencies-0.3.10/lib/jar_dependencies.rb:255
[INFO]   require_jar_with_block at /home/travis/build/jruby/jruby-openssl/pkg/rubygems-test/gems/jar-dependencies-0.3.10/lib/jar_dependencies.rb:0
[INFO]              require_jar at /home/travis/build/jruby/jruby-openssl/pkg/rubygems-test/gems/jar-dependencies-0.3.10/lib/jar_dependencies.rb:254
[INFO]              require_jar at /home/travis/build/jruby/jruby-openssl/pkg/rubygems-test/gems/jar-dependencies-0.3.10/lib/jar_dependencies.rb:357
[INFO]                   (root) at /home/travis/build/jruby/jruby-openssl/lib/jopenssl/load.rb:13
[INFO]                  require at org/jruby/RubyKernel.java:1054
[INFO]                  require at jar:file:/home/travis/.m2/repository/org/jruby/jruby-complete/1.7.4/jruby-complete-1.7.4.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36
mkristian commented 7 years ago

sure - you can just skip this proxy setup in the maven-settings using the

rubygems/request

if this class does not exits, i.e the rubygems version is quite old as in jruby-1.7.4