I've been following the directions at http://installrails.com to get my Macbook Air setup for some ruby work but I am running in any issue with RVM. When I try to install Ruby I get the following errors. I also see them when trying to run ruby -v
.
dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib
Referenced from: /Users/Chris/.rvm/rubies/ruby-2.1.3/bin/ruby
Reason: image not found
Googling around hasn't solved it, so I am confused what is causing it. Any suggestions?
Best Answer
I had the exact same problem when setting up RVM on my new Mac this morning:
To solve the issue I first ran:
Then I ran:
And it installed successfully for me.
Hope this helps.