At this point, I’ve had this error happen to me twice. Each time I’ve fixed it, and each time I have forgotten how I fixed it the previous time. This post is mostly for posterity for my own sake.
When Ruby gets installed, it compiles with system binaries at time of installation. When homebrew updates and changes those paths, some things get out of whack. Reinstalling Ruby with current dependencies fixes it.
Grab the ruby version and then reinstall.
rbenv install 2.x.x
rvm reinstall 2.x.x
This fixed the
Libary not loaded . . . Reason: image not found error when running
rails c and