Skip to content

JRuby 1.7.16's complete.jar has a path regression from 1.7.15 #2032

@rtyler

Description

@rtyler
Starting process 'command '/usr/local/openjdk8/bin/java''. Working directory: /usr/home/tyler/source/lookout/git/metron Command: /usr/local/openjdk8/bin/java -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar org.jruby.Main -S gem install /usr/home/tyler/.gradle/caches/modules-2/files-2.1/rubygems/rake/10.3.2/1da8bf3abbb179aefdf5b6f3a249adc1fbbf24c3/rake-10.3.2.gem --ignore-dependencies --install-dir=/usr/home/tyler/source/lookout/git/metron/build/tmp/jrubyExec -N --platform=java
Successfully started process 'command '/usr/local/openjdk8/bin/java''

Will result in:

Errno::ENOENT: No such file or directory - /.gem/jruby/1.9
              file? at org/jruby/RubyFileTest.java:131
               dirs at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/defaults/jruby.rb:83
            collect at org/jruby/RubyArray.java:2407
               dirs at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/defaults/jruby.rb:82
              stubs at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/specification.rb:705
               _all at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/specification.rb:657
               each at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/specification.rb:855
       reverse_each at org/jruby/RubyEnumerable.java:1072
       latest_specs at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/specification.rb:971
  find_latest_files at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems.rb:490
       load_plugins at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-comp                                                                              lete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems.rb:1006
             (root) at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/gem_runner.rb:81
            require at org/jruby/RubyKernel.java:1065
             (root) at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
            require at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55
               load at org/jruby/RubyKernel.java:1081
             (root) at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/bin/jgem:9
               load at org/jruby/RubyKernel.java:1081
             (root) at /usr/home/tyler/.gradle/caches/modules-2/files-2.1/org.jruby/jruby-complete/1.7.16/8ef6c848cc5491c5f22ddad4532c68fe778421f6/jruby-complete-1.7.16.jar!/META-INF/jruby.home/bin/gem:1
             (root) at gem:1
:rake FAILED

This fails for 1.7.16 but works fine with 1.7.15

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions