I had RMagick installed and working perfectly in OS X Mountain Lion. I just installed OS X Mavericks and when I try to run rails s, I get this error:
rails s
Install X Code 5, then do this:
brew install libtool --universal brew link libtool