bash -s stable via the command line, I get some errors, which after researching, I cannot resolve: Error running 'env GEM_HOME=
\curl -sSL https://get.rvm.io | bash -s stable
通过命令行,我得到一些错误,经过研究,我无法解决。
Error running 'env GEM_HOME=/Users/****/.rvm/gems/ruby-2.3.1@global GEM_PATH= /Users/****/.rvm/rubies/ruby-2.3.1/bin/ruby -d /Users/****/.rvm/src/rubygems-3.0.8/setup.rb --no-document',
please read /Users/****/.rvm/log/1588872415_ruby-2.3.1/rubygems.install.log
我安装并重新安装了OpenSSL,但没有成功。
此外,我还尝试了:
rvm get stable
rvm autolibs enable
rvm reinstall all --force
也没有用
试着先从Mac App Store(它是免费的)安装Apple Developers Toolkit(XCode)(如果还没有安装),然后你需要通过运行安装CLI命令行实用程序。
xcode-select --install
然后再试着安装.
如果它不会帮助, 尝试:
重新安装rvm。
rvm implode
\curl -sSL https://get.rvm.io | bash
rvm pkg install openssl
rvm install 2.3.1 --with-openssl-dir=$HOME/.rvm/usr