olexiy prokhorenko’s blog

olexiy prokhorenko’s blog

Olexiy Prokhorenko  //  I wear many hats and like different things. Dream and evolve, explore what else I can do. I want to build something nice.

More about me you can find on my profile page. 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: Mobile and Web, Technology, Entrepreneurship, Startups, Business, User Experience and Human Interfaces, Lean and Agile Methodologies, Self-improvement.

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.

0 comments

Leave a comment...