-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Skip gems packaged with Ruby when packing. #2869
Conversation
Hmmm, those tests that failed on my branch failed when running master locally too. It looks like |
You can rebase onto upstream master now and the tests should pass. Thanks! |
@TimMoore OK, all green! |
If you could also handle gems that ship with Ruby 2.0, as in 4667c85, that would be great. Thanks! |
@indirect OK, done. I couldn't find a way in the spec helpers to convince Rubygems that it should look at a different directory for default specs, so that bit is untested. However, it did work when I ran it against a Gemfile that asked for Thanks to that manual test, I found an issue where the packaged version of Any more concerns? |
One final concern... why is this needed, again? :) If you're installing onto the same Ruby version that you packed from, the gems will already be present in the Ruby installation. That means there's no reason to have those gems in the cache. |
Yup, agreed. Except that bundle cache blows up without this change and On Feb 16, 2014, at 12:09 PM, "André Arko" [email protected] wrote: One final concern... why is this needed, again? :) If you're installing Reply to this email directly or view it on |
I think maybe then |
Sure, that works for me. Does it matter that |
Ultimately, that’s already the case, since Bundler can lock to gems that are included with Ruby but not installed. This is why we added the On Feb 17, 2014, at 8:39 AM, Andrew Bloomgarden [email protected] wrote:
|
OK, implemented. Hopefully it's green. |
@indirect For whatever reason, two of the builds failed, one in Gemcutter tests and the other in a parallel install test. Are those known to be flaky? Should I retry the build? |
This allows `bundle cache` and the like to work if you are using a gem that is shipped with Ruby, like minitest 4.7.5.
@indirect OK, green! |
Skip gems packaged with Ruby when packing.
This allows
bundle cache
and the like to work if you are using a gem thatis shipped with Ruby, like minitest 4.7.5.
@indirect This "fixes" #2864. Given that this is my first time working on Bundler, I'm not sure if this is in the right spot let alone correct. How does it look to you?