OSX Yosemite,pod install报错RPC failed; result=52,

1.  Linux的五个查找命令:find,locate,whereis,which,type 这个你或许会用到,当你的系统里面有多个版本的git的时候,这个能够帮你查看你当前使用的是那个git,这个git在什么位置。 html

2. git官网这个你也会用得着,从这里下载最新版本的git,我当前装的是2.2.1,若是这里没办法下载,你能够去这里 下载。下载完毕之后,安装这个git。 linux

3. 安装完毕,你去commad line查看,发现你的git版本没有更新,那么怎么才能让系统使用刚安装的这个最新版本的git而不是其余的版本的呢? git

4. 在commad line执行下面的代码。让你的系统默认查找/usr/local/git/bin这个目录。 github

export PATH="/usr/local/git/bin:/usr/local/sbin:~/bin:$PATH"' >> ~/.bash_profile

5. 执行git --version,你会发现已是最新的git了。 ruby

6. 参考连接:http://stackoverflow.com/questions/8957862/how-to-upgrade-git-to-latest-version-on-mac-os-x/8963503#8963503 bash

鄙人遇到的就是这么个问题,若是有其余的问题,欢迎一块儿讨论。 spa

同时还遇到了brew update 失败的状况, code

unable to access 'https://github.com/Homebrew/homebrew/': SSLRead() return error -36 htm

加一个环境变量就行了, GIT_SSL_CAINFO=/path/to/ca-bundle.crt homebrew

相关文章
相关标签/搜索