1

我知道我可以安装 Hombrew 或 Macports,然后更新旧的 OpenSSL (0.9.8),但我不想这样做。

  • 我只想安装 ruby​​ 2.0.0 然后安装 rails
  • 我不想安装 Homebrew 或 Macports

谢谢

4

2 回答 2

2

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).

于 2013-03-13T20:34:59.280 回答
0

you can do it with command:

rvm install ruby-head
于 2013-03-13T20:46:04.053 回答