rvm - 怎么下不了ruby的源码包?
ringa_lee
ringa_lee 2017-04-22 08:59:21
0
3
788

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_lee
ringa_lee

ringa_lee

全部回覆(3)
洪涛

注意 curl 下載時的報錯:Permission denied。你(或你的程式)在嘗試把文件下載到沒有權限創建文件的地方。

小葫芦

百度 淘寶 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

Ty80

國內就還是直接查看這個網址 http://ruby.taobao.org/

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!