简体   繁体   中英

Libraries missing for ruby-2.2.4

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.

This might help you.

brew rm openssl
brew cleanup openssl
brew install openssl

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM