Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
安装ruby 1.9.3时出错_Ruby_Ubuntu_Rvm - Fatal编程技术网

安装ruby 1.9.3时出错

安装ruby 1.9.3时出错,ruby,ubuntu,rvm,Ruby,Ubuntu,Rvm,我想我有一个非常愚蠢的问题,但即使我问你,因为这让我非常恼火,我对RubyonRails和LinuxUbuntu都是新手。在安装ruby 1.9.3(rvm install 1.9.3)时,我收到了下面粘贴的错误。我没有从这个错误中得到任何线索。我在谷歌上搜索了很多,但无法解决这个问题,所以请帮助我,并详细说明这个错误到底是什么? 我甚至去过那条路,但在(usr/share/ruby-rvm/log/ruby-1.9.3-p448)中什么都没有 ~$rvm安装1.9.3 将Ruby从源代码安装到

我想我有一个非常愚蠢的问题,但即使我问你,因为这让我非常恼火,我对RubyonRails和LinuxUbuntu都是新手。在安装ruby 1.9.3(rvm install 1.9.3)时,我收到了下面粘贴的错误。我没有从这个错误中得到任何线索。我在谷歌上搜索了很多,但无法解决这个问题,所以请帮助我,并详细说明这个错误到底是什么? 我甚至去过那条路,但在(usr/share/ruby-rvm/log/ruby-1.9.3-p448)中什么都没有

~$rvm安装1.9.3
将Ruby从源代码安装到:/usr/share/Ruby rvm/rubies/Ruby-1.9.3-p448,这可能需要一些时间,具体取决于您的cpu。。。
ruby-1.9.3-p448-#获取
ruby-1.9.3-p448-#下载ruby-1.9.3-p448,这可能需要一些时间,具体取决于您的连接。。。
卷曲:(3)畸形
错误:出现错误,请检查/usr/share/ruby-rvm/log/ruby-1.9.3-p448/*.log。接下来,我们将尝试通过http获取。
改为尝试http://URL。
卷曲:(3)畸形
错误:出现错误,请检查/usr/share/ruby-rvm/log/ruby-1.9.3-p448/*.log
错误:尝试获取源时出错。
停止安装。
错误:获取ruby解释器时出错。停止安装。

请检查前面的答案:可能重复您是否按照错误消息所示检查了日志?这是重复的,因为
/usr/share/ruby rvm
是ubuntu软件包,不再维护,也不包含新ruby服务器的更新。您是否找到了我遇到的相同错误的答案
~$ rvm install 1.9.3 

Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-1.9.3-p448, this may take a while depending on your cpu(s)...

ruby-1.9.3-p448 - #fetching 
ruby-1.9.3-p448 - #downloading ruby-1.9.3-p448, this may take a while depending on your connection...
curl: (3) <url> malformed
ERROR: There was an error, please check /usr/share/ruby-rvm/log/ruby-1.9.3-p448/*.log. Next we'll try to fetch via http.
Trying http:// URL instead.
curl: (3) <url> malformed
ERROR: There was an error, please check /usr/share/ruby-rvm/log/ruby-1.9.3-p448/*.log
ERROR: There has been an error while trying to fetch the source.  
Halting the installation.
ERROR: There has been an error fetching the ruby interpreter. Halting the installation.