Ruby RVM安装1.9.2-head错误

Ruby RVM安装1.9.2-head错误,ruby,git,https,installation,rvm,Ruby,Git,Https,Installation,Rvm,我使用RVM维护ROR环境: 但当我试图安装ruby head时,它会给我如下错误消息: shanan@shanan-ThinkPad:~$ rvm install 1.9.2-head /home/shanan/.rvm/rubies/ruby-1.9.2-head, this may take a while depending on your cpu(s)... ruby-1.9.2-head - #fetching Cloning from https://github.com

我使用RVM维护ROR环境:

但当我试图安装ruby head时,它会给我如下错误消息:

shanan@shanan-ThinkPad:~$ rvm install 1.9.2-head
/home/shanan/.rvm/rubies/ruby-1.9.2-head, 
  this may take a while depending on your cpu(s)...

ruby-1.9.2-head - #fetching 
Cloning from https://github.com/ruby/ruby.git, this may take a while depending on your connection...
Cloning into /home/shanan/.rvm/repos/ruby-1.9.2-head...
fatal: Unable to find remote helper for 'https'
cloning from https://github.com/ruby/ruby.git failed, now attempting to clone from https://github.com/ruby/ruby.git, this may take a while depending on your connection...
Cloning into /home/shanan/.rvm/repos/ruby-1.9.2-head...
fatal: Unable to find remote helper for 'https'
There has been an error while trying to fetch the repository.               
Halting the installation.
There has been an error fetching the ruby interpreter. Halting the installation.
shanan@shanan-ThinkPad:~$ 
我使用的是git 1.7.4,其他依赖项已正确安装和配置。 我真的不知道为什么以及如何解决这个问题。您能帮助我吗?

关于rvm,文档中提到:

RVM维护一份口译员列表及其可能安装的版本。 要查看此列表,请运行以下命令

请注意,RVM不仅仅限于此列表

有什么方法可以修改该列表以获得类似URL的内容吗http://github.com/user/repo.git ?

因为尽管您在问题中指定了所有依赖项都存在,但似乎缺少某种openssl依赖项

在命令行中输入rvm notes并确保满足所有依赖项


如果RVM找不到“https”帮助程序,它听起来好像找不到curl。如果我没记错的话,git需要curl来完成繁重的工作。

确保您已经安装了以下软件包:

sudo apt-get install git-core
sudo apt-get install openssl
sudo apt-get install curl
以上是RVM的依赖项

完成所有操作后,只需键入sudo rvm install 1.9.2


我希望这能解决您的问题:

谢谢,男士rvm安装1.9.3-head为我工作,我只看到它运行您建议的rvm list已知命令。RVM应该让我的生活更轻松-
sudo apt-get install git-core
sudo apt-get install openssl
sudo apt-get install curl