ruby-2.2.4 缺少库

Libraries missing for ruby-2.2.4

我正在尝试重新编译我的 ruby 因为 pry 停止工作了。

这是我遇到的错误。

Sorry, you can't use Pry without Readline or a compatible library.

我做到了

brew update
rvm get head
rvm cleanup all
rvm reinstall ruby-2.2.4

但我在安装过程中仍然遇到错误,无法撬动。

Libraries missing for ruby-2.2.4: /Users/travis/.rvm/rubies/ruby-2.2.4/lib/libruby.2.2.0.dylib. Refer to your system manual for installing libraries

Error running '__rvm_patch -F 25 -p1 -N -f -i /Users/kel/.rvm/patches/ruby/2.2.4/openssl3.patch',
showing last 15 lines of /Users/kel/.rvm/log/1479717703_ruby-2.2.4/patch.apply.openssl3.log

如有任何帮助,我们将不胜感激。谢谢。

This 可能对您有帮助。

brew rm openssl
brew cleanup openssl
brew install openssl