搜索

首页  >  问答  >  正文

rvm - 怎么下不了ruby的源码包?

Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/14.04/i386/ruby-2.1.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /home/frozen/.rvm/rubies/ruby-2.1.1, this may take a while depending on your cpu(s)...
ruby-2.1.1 - #downloading ruby-2.1.1, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file ruby-2.1.1.tar.bz2.part: Permission denied
0 11.4M 0 3030 0 0 9462 0 0:21:07 --:--:-- 0:21:07 9468
curl: (23) Failed writing body (0 != 3030)
There was an error(23).
Checking fallback: http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.bz2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file ruby-2.1.1.tar.bz2.part: Permission denied
0 11.4M 0 3237 0 0 7650 0 0:26:07 --:--:-- 0:26:07 7670
curl: (23) Failed writing body (0 != 3237)
There was an error(23).
Failed download
There has been an error fetching the ruby interpreter. Halting the installation.

ringa_leeringa_lee2808 天前860

全部回复(3)我来回复

  • PHP中文网

    PHP中文网2017-04-22 09:01:21

    注意 curl 下载时的报错:Permission denied。你(或者你的程序)在尝试把文件下载到没有权限创建文件的地方。

    回复
    0
  • 高洛峰

    高洛峰2017-04-22 09:01:21

    百度 淘宝 ruby源 直接从我大淘宝下吧 gem 也指向淘宝源

    0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Failed to create the file ruby-2.1.1.tar.bz2.part: Permission denied
    确实是我二了 这个意思是 警告:创建ruby-xxxx失败 权限阻止
    看下这个是下载到哪 或者命令加sudo

    回复
    0
  • PHP中文网

    PHP中文网2017-04-22 09:01:21

    国内就还是直接查看这个地址 http://ruby.taobao.org/

    回复
    0
  • 取消回复