我刚刚安装了带有RVM的Ruby 2.2.0,并试图使用它给我这个:
$ rvm use 2.2.0 --default
Using /Users/brandon/.rvm/gems/ruby-2.2.0
dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib
Referenced from: /Users/brandon/.rvm/rubies/ruby-2.2.0/bin/ruby
Reason: Incompatible library version: ruby requires version 13.0.0 or later, but libgmp.10.dylib provides version 12.0.0
答案 0 :(得分:10)
我认为它会涉及更多,但只是一个简单的
brew upgrade gmp
修复了问题。