unable to "bundle install" under Windows with git source #611
Comments
If you invoke the command indicated in the backticks, it works?
|
No. In Windows double quotes are necessary instead of single ones. Made pull request for this change http://github.com/jarmo/bundler/commit/889ced04a1915370eff9ea5a1ea32ce82c517234 |
I had the same problem (on Win7 32-bit), and your change fixed me up. I just applied it to my locally installed bundler gem (in hopes this will be fixed by the time there's another version) and did a happy dance. Thanks @jarmo! |
I just ran into this yesterday.. Cost me a few hours.. I am so glad I found this issue.. Sure hope they fix it for the 1.0 release when rails goes gold! Thanks for the temp-fix |
This is fixed in the 1.0 final release, so I'm closing this ticket. |
not fixed. having the same issue on Windoze 7 64 bit with bundler gem version 1.2.4 |
@spyderdyne you have a different problem. Chances are highest that you don't have git installed, but you should check out ISSUES for more. |
I have git and git bash installed. Even working out of a got cloned repo It looks pretty similar to me.
|
We saw this in 2017, on a current version of bundler running under JRuby:
That command does indeed fail, but with double-quotes it works fine. Not entirely sure whether the error message is just wrong, or whether bundler is actually running that command. |
This issue is still there, I cannot go pass gem installation if they reference github repos. Using msys2 installer from http://repo.msys2.org/distrib/x86_64/msys2-x86_64-20180531.exe
Any ideas ? Errors start like this:
It looks more like a git CLI problem, not being able to identify that This is solved by replacing the msys2's own git client with the one from git-for-windows, check here https://github.com/git-for-windows/git/wiki/Install-inside-MSYS2-proper So, not a bundler problem in the end! |
In my Gemfile i have among other things:
gem 'authlogic', :git => 'git://github.com/odorcicd/authlogic.git', :branch => 'rails3'
And when trying to bundle install, i'm getting this strange failure. Same Gemfile and bundle install works under Ubuntu.
I'm on win7 64bit, git version 1.7.0.2.msysgit.0 and rails3 rc2.
Any ideas, what's causing that and how to solve it?
The text was updated successfully, but these errors were encountered: