`rvm list remote` 未显示 Ubuntu 14.04 框的二进制文件

`rvm list remote` 未显示 Ubuntu 14.04 框的二进制文件

我正在尝试在 Ubuntu 14.04 上使用 rvm 配置开发盒(通过 Vagrant 和 Ansible)。我已经安装了rvm:

gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable

当我尝试rvm install 1.9.3或 `rvm install ruby​​-1.9.3-p551 时,它说找不到二进制文件,它将从源代码编译。

$ rvm install ruby-1.9.3-p551
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/14.04/x86_64/ruby-1.9.3-p551.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.

那里不过,可用的二进制文件:https://github.com/wayneeseguin/rvm/blob/master/config/remote&https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/14.04/x86_64/

rvm --debug list remote收益:

__list_remote_all https://rvm_io.global.ssl.fastly.net/binaries ubuntu/14.04/x86_64
__list_remote_all1 https://s3.amazonaws.com/jruby.org downloads
__list_remote_for_s3-0 https://s3.amazonaws.com/jruby.org?prefix=downloads/
Running(15): curl --fail --location --max-redirs 10 --max-time 1800 --connect-timeout 30 --retry-delay 2 --retry 3 -s https://s3.amazonaws.com/jruby.org?prefix=downloads/
__list_remote_for_s3-1 https://s3.amazonaws.com/jruby.org?prefix=downloads/&marker=downloads/1.6.5/jruby-bin-1.6.5.tar.gz.sha1
Running(15): curl --fail --location --max-redirs 10 --max-time 1800 --connect-timeout 30 --retry-delay 2 --retry 3 -s https://s3.amazonaws.com/jruby.org?prefix=downloads/&marker=downloads/1.6.5/jruby-bin-1.6.5.tar.gz.sha1
__list_remote_all2 http://binaries.rubini.us ubuntu/14.04/x86_64
__list_remote_for_s3-0 http://binaries.rubini.us?prefix=ubuntu/14.04/x86_64/
Running(15): curl --fail --location --max-redirs 10 --max-time 1800 --connect-timeout 30 --retry-delay 2 --retry 3 -s http://binaries.rubini.us?prefix=ubuntu/14.04/x86_64/
__list_remote_all3 https://rubies.travis-ci.org ubuntu/14.04/x86_64

# Remote rubies available:

jruby-0.9.0
jruby-1.6.6
jruby-1.6.7
jruby-1.6.7.2
jruby-1.6.8
jruby-1.7.0
jruby-1.7.0.preview1
jruby-1.7.0.preview2
jruby-1.7.0.RC1
jruby-1.7.0.RC2
jruby-1.7.1
jruby-1.7.10
jruby-1.7.11
jruby-1.7.12
jruby-1.7.13
jruby-1.7.14
jruby-1.7.15
jruby-1.7.16
jruby-1.7.16.1
jruby-1.7.2
jruby-1.7.3
jruby-1.7.4
jruby-1.7.5
jruby-1.7.6
jruby-1.7.7
jruby-1.7.8
jruby-1.7.9
rubinius-2.3.0

# * - installed already

# To download and install: rvm install {name} --binary

__rvm_rm_rf already gone: /home/vagrant/.rvm/tmp/18526*

使用rvm mount确实有效,但我想避免这种情况,因为我试图让这个流浪盒子尽可能通用。

$ rvm mount -r https://rvm.io/binaries/ubuntu/14.04/x86_64/ruby-1.9.3-p551.tar.bz2
https://rvm.io/binaries/ubuntu/14.04/x86_64/ruby-1.9.3-p551.tar.bz2 - #configure
ruby-1.9.3-p551 - #download
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed
100 13.3M  100 13.3M    0     0   343k      0  0:00:39  0:00:39 --:--:--  350k
ruby-1.9.3-p551 - #validate archive
ruby-1.9.3-p551 - #extract
ruby-1.9.3-p551 - #validate binary
ruby-1.9.3-p551 - #setup
ruby-1.9.3-p551 - #gemset created /home/vagrant/.rvm/gems/ruby-1.9.3-p551@global
ruby-1.9.3-p551 - #importing gemset         /home/vagrant/.rvm/gemsets/global.gems....................................
ruby-1.9.3-p551 - #generating global wrappers........
ruby-1.9.3-p551 - #gemset created /home/vagrant/.rvm/gems/ruby-1.9.3-p551
ruby-1.9.3-p551 - #importing gemsetfile /home/vagrant/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-1.9.3-p551 - #generating default wrappers......

我不太确定我做错了什么,但我确信我做错了做错事。

答案1

事实证明这是 RVM 本身的问题。https://github.com/wayneeseguin/rvm/issues/3180

相关内容