alexey prohorenko's blog

alexey prohorenko's blog

Alexey Prohorenko  //  I create and build new tech products. There's nothing I can't do.

I have "business card" page at http://www.alexeypro.com/. More about me you can find on my profile. You can follow me on Twitter @alexeypro or connect with me on LinkedIn. Do you know me personally? Help me improve, rate my skills on PlusRated.

My interests: Technology, New Media, Entertainment, Entrepreneurship and Working Out. .

Nov 12 / 8:29pm

Snow Leopard gives me a headache! (Ruby/MySQL/DBI)

So, needed to create tiny Ruby script which will work with MySQL via DBI. It almost ate my brain. Didn't want to work! But I can swear that it did work before (until I upgraded to Snow Leopard!). Found this link http://freaking.hilbrink.org/?p=7 and it happened to be my problem:

sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config

So easy and stupid :-(
Works now.