解决安装ruby3错误 rvm_log_dotted:23
解决安装 ruby3 错误 _rvm_log_dotted:23: permission denied:
1 | rvm install ruby@latest |
macos 安装 ruby3 出现错误:
1 | Error running ' CFLAGS=-O3 -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include LDFLAGS=-L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib ./configure --prefix=/Users/tiny/.rvm/rubies/ruby-3.0.0 --disable-install-doc --enable-shared', please read /Users/tiny/.rvm/log/1608892720_ruby-3.0.0/configure.log There has been an error while running configure. Halting the installation. |
查看日志错误为:_rvm_log_dotted:23: permission denied:
使用下面命令重新安装成功
rvm install ruby-3.0.0 –with-openssl-dir=brew --prefix openssl