Can't install Ruby 2.0.0 with rvm

☆樱花仙子☆ 提交于 2019-12-04 20:20:55

When I installed Ruby 2.0 on my OS X Mountain Lion I had to ensure that OpenSSL was first installed. Since I'm using Homebrew, all I had to do a brew install openssl before rvm install 2.0.0. It looks like you're running Macports (which I haven't used before), so I guess sudo port install openssl may work for you.

Also try to install the following as well: autoconf, automake, libtool, pkg-config, libiconv, libyaml, libffi, readline, libxml2, libxslt, libksba, curl-ca-bundle, sqlite3, zlib, ncurses, gdbm - they're listed as being missing by the output you've provided.

With the next steps, I installed ruby-2.0.0-rc2 successfully.

brew update    
brew install libyaml libxslt sqlite
brew upgrade automake libksba openssl pkg-config
rvm get stable    
rvm autolibs enable
rvm install 2.0.0-p0
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!