Repository navigation
Conversation
|
Strange, I've never run into this before. I'd prefer to either delete any files that identify the directory as a perforce checkout, or simply set ENV['PATCH_GET'] = 0 so we don't have to do any patch version detection. |
|
Ah, I must have missed that in the manual. I like that solution quite a bit better. I definitely don't have that in the environment, so I'm presuming it became the default at some point? I'll get a refork + new pull req to you sometime today. |
|
I see the PATCH_GET env variable mentioned in the man page on my debian box, which has patch 2.5.9 |
|
Yeah, I wasn't disputing its existence, just my eyeballs. I too am using 2.5.9 (10.6 with recent macports) but I did check env and it's not in there. I'll get you a fixed patch that sets that and removes the lousy check soonish. |
|
Fixed by #13. Thanks! |
The patch command, when using GNU patch, will attempt to prompt the user to check files out of perforce (this feature doesn't exist in BSD patch and thus isn't a problem).
This is a problem in the 0.5.0 release in rubygems, where the patching in extconf.rb will fail on any modern GNU patch.
Issuing -g0 will quell this prompting and patching will go smoothly.
My heuristic is probably crap, but it works on OS X (with GNU patch via macports) and FreeBSD.