我知道我可以安装 Hombrew 或 Macports,然后更新旧的 OpenSSL (0.9.8),但我不想这样做。
- 我只想安装 ruby 2.0.0 然后安装 rails
- 我不想安装 Homebrew 或 Macports
谢谢
我知道我可以安装 Hombrew 或 Macports,然后更新旧的 OpenSSL (0.9.8),但我不想这样做。
谢谢
Based on this post at coderwall, use the following commands:
rvm pkg install openssl
rvm install 2.0.0 \
--with-openssl-dir=$HOME/.rvm/usr \
--verify-downloads 1
Also, depending on your rvm
configuration, you may want to add the --autolibs=0
option to each rvm
command above so it doesn't try to use a package manager (like macports or homebrew).
you can do it with command:
rvm install ruby-head