2016-09-16 47 views
0

我以前在Windows 7上安装过Git x64(所以它坐在C:\Program Files\Git)。然后我安装了Heroku工具带。Heroku可以在Windows上使用x64安装Git吗?

它还包括Git的安装,并安装了一个x32位版本的Git(以及不同的版本)。我对此并不满意,因为它污染了我已经很紧的PATH变量,它在超过2048个字符(大约)后在Windows 7上爆炸。所以我卸载了Git x32版本。

的Git仍然可以工作,我在命令行上,但如果我发出Heroku的命令:

git push heroku master 

它给人的错误:

fatal: unable to access 'https://git.heroku.com/infinite....git/': 
error setting certificate verify locations:                           
CAfile: C:/Program Files (x86)/Git/mingw32/ssl/certs/ca-bundle.crt            
CApath: none 

所以它在寻找CA束。 CRT。我看到这个文件存在于C:\ Program Files \ Git下(即在x64位安装下)。

是否有可能使Heroku使用该安装?

回答

0

我的工作解决此问题,只需从x64安装复制ca-bundle.crt文件到所需的文件夹,即C:/Program Files (x86)/Git/mingw32/ssl/certs/ca-bundle.crt,即使没有安装Git的32位...

相关问题