我需要 Ruby 2.0.0,所以我求助于 RVM 来帮助管理我的 ruby 安装。
但是,当我这样做时rvm install ruby-2.0.0,安装最终会爆炸。
$ rvm install ruby-2.0.0
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.12/x86_64/ruby-2.0.0-p648.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/nick/.rvm/rubies/ruby-2.0.0-p648, this may take a while depending on your cpu(s)...
ruby-2.0.0-p648 - #downloading ruby-2.0.0-p648, …Run Code Online (Sandbox Code Playgroud) 我继承了一个遗留代码库,需要使用 RVM 安装 Ruby 2.0.0。我使用的是 Mac OS X Catalina,Ruby 2.0.0 的安装程序根本不起作用。
以下是我的安装尝试,从 RVM 本身的安装一直到尝试安装 Ruby 2.0.0。
nbyrd$ \curl -sSL https://get.rvm.io | bash -s stable
Downloading https://github.com/rvm/rvm/archive/1.29.10.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.10/1.29.10.tar.gz.asc
gpg: Signature made Wed Mar 25 14:58:42 2020 PDT
gpg: using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 7D2B AF1C F37B 13E2 …Run Code Online (Sandbox Code Playgroud)