2016-11-21 70 views
1

我想重新編譯我的紅寶石,因爲撬停止工作。庫缺失的紅寶石2.2.4

這是我得到的錯誤。

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 

任何幫助,將不勝感激。謝謝。

+0

有關您的系統的更多信息將會有所幫助。它看起來像OS X.它是哪個版本? –

+0

osx版本10.12.1 –

回答

3

This可能會幫助你。

brew rm openssl 
brew cleanup openssl 
brew install openssl