Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby 2.2.0 won't run because of issue with libgmp.10.dylib

Tags:

macos

ruby

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
like image 973
iconoclast Avatar asked Jan 03 '15 21:01

iconoclast


1 Answers

I thought it was going to be a little more involved, but a simple

brew upgrade gmp

fixed the problem.

like image 131
iconoclast Avatar answered Nov 03 '22 21:11

iconoclast