-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Fixed a bug that was not properly caching gems from all git repositories. #1253
Conversation
What's the bug? How do you reproduce it? Can you write a test for this? Thanks for submitting! |
In the event that a git repository is hosted on a network share for example On Sat, Jun 18, 2011 at 00:57, indirect <
|
In my attempt to figure out the tests I have encountered an interesting error. I saw that you have a rake file which fires off the specs, however they fail on my machine. I assumed that I should first run "rake spec:dep" which succeeded successfully. Then I ran "rake spec" which I believe is supposed to run the specs and if failed with the following error: Run I tried doing as it said and ran "gem install win32-open3" which failed with the following error: ERROR: Error installing win32-open3: I then tried installing Ruby 1.8.6 and tried running the specs. That also failed miserably. What am I doing wrong, and/or what do I need to install to run those specs? |
Unfortunately, none of the bundler developers use windows. That means the specs don't run (that I am aware of) at present. It is on my list of things to improve, but I'm not sure how soon I'll be able to get to it. On Jun 20, 2011, at 12:44 PM, mtscout6 [email protected] wrote:
|
Ok, I installed a linux vm and was able to run those tests. I have also added a test that covers my change. I also changed my original request so the cache isn't creating an "Undetermined" folder anymore, instead I modified the regex to handle network share paths. |
Sounds great. Thanks! |
Is everything good for this to be pulled in, or is there something else you would like to see included? I have given this fix to my co-workers, but would like to see this fix in place so we don't have to keep updating from my fork. |
Oh, sorry, I just haven't had time to run the tests and merge this yet. I should be able to get to it this weekend. Thanks again! |
I just merged with the latest from your branch so that should at least make things a little less painful for ya. Thanks for looking at this. |
--- Work around File.basename not working on Windows network share paths like "\\Somewhere\gitrepo"
Fixed a bug that was not properly caching gems from all git repositories.