Libraries missing for ruby-2.2.4

为君一笑 提交于 2019-12-11 05:34:34

问题


I am trying to recompile my ruby because pry stopped working.

This is the error I'm getting.

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

I did

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

But I'm still getting errors during the installation and can not get pry working.

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

and

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

Any help would be appreciated. Thanks.


回答1:


This might help you.

brew rm openssl
brew cleanup openssl
brew install openssl


来源:https://stackoverflow.com/questions/40715966/libraries-missing-for-ruby-2-2-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!