mkristian / jbundler

bundler support for jars for jruby
MIT License
210 stars 39 forks source link

Don't work after switch on JRuby 9.1.6 #83

Open fuCtor opened 7 years ago

fuCtor commented 7 years ago

After switch on last version don't work install/update commands:

~/www/app(branch:feature/jruby_9_1_6*) » be jbundle update                                                                                                                                sv@dev
...
bundler: failed to load command: jbundle (/home/sv/www/.bundle/bin/jbundle)
RuntimeError: can't modify frozen String, created at /home/sv/www/dispply/.bundle/specifications/jruby-openssl-0.9.15-java.gemspec:16
  org/jruby/RubyString.java:2393:in `sub!'
  /home/sv/www/.bundle/gems/maven-tools-1.0.13/lib/maven/tools/gemspec_dependencies.rb:60:in `block in _setup'
  /home/sv/www/.bundle/gems/maven-tools-1.0.13/lib/maven/tools/gemspec_dependencies.rb:59:in `_setup'
  /home/sv/www/.bundle/gems/maven-tools-1.0.13/lib/maven/tools/gemspec_dependencies.rb:14:in `initialize'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/lib/jbundler/lock_down.rb:150:in `block in attach_jar_coordinates'
  org/jruby/RubyHash.java:1344:in `each'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/lib/jbundler/lock_down.rb:148:in `attach_jar_coordinates'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/lib/jbundler/lock_down.rb:136:in `exec_maven'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/lib/jbundler/lock_down.rb:110:in `install_dependencies'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/lib/jbundler/lock_down.rb:54:in `lock_down'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/lib/jbundler/lock_down.rb:31:in `update'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/lib/jbundler/cli.rb:130:in `update'
  /home/sv/.rbenv/versions/jruby-9.1.6.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /home/sv/.rbenv/versions/jruby-9.1.6.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /home/sv/.rbenv/versions/jruby-9.1.6.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  /home/sv/.rbenv/versions/jruby-9.1.6.0/lib/ruby/gems/shared/gems/bundler-1.13.7/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  /home/sv/www/.bundle/gems/jbundler-0.9.2/bin/jbundle:47:in `<main>'
  org/jruby/RubyKernel.java:977:in `load'
  /home/sv/www/.bundle/bin/jbundle:1:in `<main>'
  org/jruby/RubyKernel.java:977:in `load'
  /home/sv/www/.bundle/bin/jbundle:22:in `(root)'

JRuby 9.1.6 bundler 1.13.7 jbundler 0.9.2 ruby-maven-libs 3.3.9 ruby-maven 3.3.12 jar-dependencies 0.3.8