无法更新RVM - “致命:无法找到'http'的远程帮助器'” [英] Can't update RVM - "fatal: Unable to find remote helper for 'http'"
本文介绍了无法更新RVM - “致命:无法找到'http'的远程帮助器'”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在Ubuntu 8.04上运行RVM 1.1.6,并且突然之间我无法再更新到最新版本。
〜rvm get head
原始安装的RVM版本:
rvm 1.1.6作者:Wayne E. Seguin(wayneeseguin@gmail.com)[http:// rvm.beginrescueend.com/]
致命:无法找到'http'的远程助手
安装的RVM HEAD版本:
rvm 1.1。 6 by Wayne E. Seguin(wayneeseguin@gmail.com)[http://rvm.beginrescueend.com/]
谷歌搜索致命:无法找到'http'的远程助手只给了我几个结果,好像早期版本的Git不支持HTTP,但我的Git版本相当新。
〜git --version
git version 1.7.3.2
任何想法都将被赞赏!
解决方案
问题,似乎git版本缺少curl和expat支持。我可以通过编译自己的git版本来解决它。
sudo apt-get remove git-core
wget http: //kernel.org/pub/software/scm/git/git-1.7.3.5.tar.gz
sudo apt-get build-dep git-core
tar xvzf git-1.7.3.5.tar .gz
cd git-1.7.3.5 /
./configure --with-curl --with-expat
make
sudo make install
$ c
- 删除已安装的版本
- 下载最新的.tar li>
- 安装所有必需的依赖关系(可能已过时,因为您已经运行过)
- 取消关注
- 使用 curl 和 expat 扩展名配置make-file
- 安装它
I'm running RVM 1.1.6 on Ubuntu 8.04 and all of a sudden I can't update to the latest version anymore.
~ rvm get head
Original installed RVM version:
rvm 1.1.6 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
fatal: Unable to find remote helper for 'http'
Installed RVM HEAD version:
rvm 1.1.6 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
Googling for "fatal: Unable to find remote helper for 'http'" just gave me a few results, it seems like earlier versions of Git didn't support HTTP, but my Git version is fairly recent.
~ git --version
git version 1.7.3.2
Any ideas would be appreciated!
解决方案 I ran into the same issue and it seemed that the git version was missing curl and expat support. I could resolve it by compiling the git version myself.
sudo apt-get remove git-core
wget http://kernel.org/pub/software/scm/git/git-1.7.3.5.tar.gz
sudo apt-get build-dep git-core
tar xvzf git-1.7.3.5.tar.gz
cd git-1.7.3.5/
./configure --with-curl --with-expat
make
sudo make install
- Remove the installed version
- Download the latest .tar
- Install all mandatory dependencies (maybe obsolete, as you had it already running)
- Un-tar it
- Configure the make-file with curl and expat extension
- Install it
这篇关于无法更新RVM - “致命:无法找到'http'的远程帮助器'”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文