簡體   English   中英

在Ubuntu 11中RVM Ruby 2.0.0安裝失敗

[英]RVM Ruby 2.0.0 installation fails in Ubuntu 11

$ rvm install 2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/11.10/i386/ruby-2.0.0-p247.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Installing requirements for ubuntu, might require sudo password.
Requirements installation successful.
Installing Ruby from source to: /home/unik/.rvm/rubies/ruby-2.0.0-p247, this may take a while depending on your cpu(s)...
ruby-2.0.0-p247 - #downloading ruby-2.0.0-p247, 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 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
The requested url does not exist(22): 'http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.bz2'
Trying ftp:// URL instead.
curl: (6) Couldn't resolve host 'ftp'
There was an error(6), please check /home/unik/.rvm/log//*.log
There has been an error fetching the ruby interpreter. Halting the installation.


$ cat /home/unik/.rvm/log/ruby-2.0.0-p247/1375803282_package_install_libyaml-dev_libsqlite3-dev_libgdbm-dev.log
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  sqlite3-doc
The following NEW packages will be installed:
  libgdbm-dev libsqlite3-dev libyaml-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 530 kB of archives.
After this operation, 1,610 kB of additional disk space will be used.
Get:1 http://ua.archive.ubuntu.com/ubuntu/ oneiric/main libgdbm-dev i386 1.8.3-10 [25.1 kB]
Get:2 http://ua.archive.ubuntu.com/ubuntu/ oneiric/main libsqlite3-dev i386 3.7.7-2ubuntu2 [438 kB]
Get:3 http://ua.archive.ubuntu.com/ubuntu/ oneiric/main libyaml-dev i386 0.1.4-1 [66.4 kB]
Fetched 530 kB in 0s (1,089 kB/s)
Selecting previously deselected package libgdbm-dev.
(Reading database ... 709975 files and directories currently installed.)
Unpacking libgdbm-dev (from .../libgdbm-dev_1.8.3-10_i386.deb) ...
Selecting previously deselected package libsqlite3-dev.
Unpacking libsqlite3-dev (from .../libsqlite3-dev_3.7.7-2ubuntu2_i386.deb) ...
Selecting previously deselected package libyaml-dev.
Unpacking libyaml-dev (from .../libyaml-dev_0.1.4-1_i386.deb) ...
Processing triggers for man-db ...
Setting up libgdbm-dev (1.8.3-10) ...
Setting up libsqlite3-dev (3.7.7-2ubuntu2) ...
Setting up libyaml-dev (0.1.4-1) ...


$ rvm list known
# MRI Rubies
[ruby-]1.8.6[-p420]
[ruby-]1.8.7[-p374]
[ruby-]1.9.1[-p431]
[ruby-]1.9.2[-p320]
[ruby-]1.9.3[-p448]
[ruby-]2.0.0-p195
[ruby-]2.0.0[-p247]
[ruby-]2.0.0-head
ruby-head

已經嘗試使用rm -rf所有配置重新安裝RVM-並沒有幫助,問題仍然存在。 在Ubuntu中通過RVM安裝ruby的正確方法是什么? 還完成了sudo chown -R unik:unik /home/unik/.rvm ,安裝了這里推薦的所有必要軟件包。 任何試圖顯式拋出p247嘗試p247無濟於事。

好,謝謝。 真的ruby-lang.org已經關閉

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM