Can we talk about how funny it is to fast forward Lynda.com videos and listen to a perkier voice? Love it. Anyway …
So, you're doing this awesome training and you're like
Wow, I mean, I thought Ruby was cool and I liked the foxes and stuff and Rails makes it so much bettah!
And then you're like, trying to start WEBrick and you're all like
me$ rails s
and then it's all like
And you're like LMGTFY
and you click the first link, which is a forum that references this blog post
and you're like
Oh. Fresh MySQL install + Snow Leopard = not happy. It says blah blah
sudo install_name_tool -change libmysqlclient.16.dylib /usr/local/mysql/lib/libmysqlclient.16.dylib /Library/Ruby/Gems/1.8/gems/mysql2-0.2.4/lib/mysql2/mysql2.bundle
That fixes it. So when rails s / rails server doesn't work, and there's "image not found mysql2" involved, this is what you do.
In other news, this is pretty fun. And the new job is great 🙂