Following install instructions leads to LoadError: Library not loaded: libmysqlclient.18.dylib+example

While following the wagn installation instructions I entered rake wagn:create and got the following error:

 

LoadError: dlopen(/Users/phoenix/.rvm/gems/, 9): Library not loaded: libmysqlclient.18.dylib

  Referenced from: /Users/phoenix/.rvm/gems/

  Reason: image not found - /Users/phoenix/.rvm/gems/