Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Test ordering issue when running with RubyGems 2.1.9 #203

Closed
shepmaster opened this Issue · 2 comments

1 participant

@shepmaster

This test:

Warbler::Jar
  in a jar project
    with a gemspec without a default executable
      loads the first bin/executable in main.rb

fails consistently if it is run after

Warbler::Jar
  in a jar project
    with a .gemspec
      loads the default executable in main.rb

but seemingly only in JRuby 1.7.5.

Edit - further exploration indicates it has to do with RubyGems, and is not JRuby-specific.

@shepmaster

I think this may have to do with the RubyGems upgrade present in JRuby 1.7.5. Somehow, when getting the default executables, the array in non-empty. Perhaps the new RG is doing some sort of global caching based on the filename?

@shepmaster

Installing rubygems 2.1.9 on MRI reproduces this problem. Both of these PRs mention caching of stuff.

rubygems/rubygems#569
rubygems/rubygems#447

@jkutner jkutner closed this in 375bafb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.