Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby ActiveRecord Basics Migrations and Relationships Single Table Inheritance

Stewart Horsfield
Stewart Horsfield
13,293 Points

**FIX** El Capitan upgrade breaks mysql / rails server

I upgraded to El Capitan yesterday, after which I tried to get back into this project, running rails server, but got a bunch of errors to do with APP_PATH and libmysqlclient.18.dylib not being loaded, and so on.

After searching around for an hour and trying various fixes from stack overflow (none of which worked) I ran brew install mysql to reinstall/update mysql, and that fixed it. Something about El Capitan makes previous versions of mysql very unhappy and not want to talk to anything.

Hope this helps someone!

Maximiliane Quel
Maximiliane Quel
Courses Plus Student 55,489 Points

Hi,

thanks for posting. Crossing my fingers that this will work. Just to make sure, did you uninstall the previous versions of mysql before you used brew to install?

Stewart Horsfield
Stewart Horsfield
13,293 Points

Hi Maximiliane,

I didn't uninstall it beforehand, I think it just reorganises your current installation to work with El Capitan, but I could be wrong. Though, I didn't lose any databases in the process, so it wasn't a fresh install.

Hope it works for you! :)

Maximiliane Quel
Maximiliane Quel
Courses Plus Student 55,489 Points

Thank you! Unfortunately it didn't work quite for me. This does seem to do the trick link.

1 Answer

Hi.

Well it happens that some file are either deleted in the update (if they change their system structure) or saved somewhere else and so on.

Thanks for the info. Didn't update yet but will today :)