Ubuntu 14.04에서 (Vagrant 및 Ansible을 통해) rvm을 사용하여 개발 상자를 구성하려고 합니다. RVM을 설치했습니다.
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
\curl -sSL https://get.rvm.io | bash -s stable
`rvm install ruby-1.9.3-p551을 시도하면 rvm install 1.9.3
바이너리를 찾을 수 없으며 소스에서 컴파일될 것이라는 메시지가 나타납니다.
$ 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