Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Test ordering issue when running with RubyGems 2.1.9 #203

shepmaster opened this Issue · 2 comments

1 participant


This test:

  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

  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.


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?


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


@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.