Ruby 2.2.0 will not start due to a problem with libgmp.10.dylib

I just installed Ruby 2.2.0 with RVM, and trying to use it gives me this:

$ 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 
+5
source share
1 answer

I thought it would be a little bigger, but simple

 brew upgrade gmp 

fixed problem.

+10
source

Source: https://habr.com/ru/post/1210330/


All Articles