Installing the MySQL gem on Leopard was much more painful than I thought. I had the 64-bit version of MySQL already installed. So I had to uninstall MySQL on Leopard, which was a challenge all on its own. Here is what I did (after stopping MySQL, and backing up my databases first, of course):
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
vi /etc/hostconfig # remove the line MYSQLCOM=-YES-
Then I had to install the 32-bit version of MySQL for Mac OS X. After that is installed, I had to use the following to get the gem to compile:
sudo env ARCHFLAGS="-arch i386" gem install mysql -- \
--with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib \
--with-mysql-include=/usr/local/mysql/include
Jul 04, 2009 | Categories: Development | Leave A Comment »
I knew something like this should and would exist – nice work.. Will try and incorporate into the next Rails thing we do!
Slash Dot Dash � Blog Archive � iPhone on Rails – Creating an iPhone optimised version of your Rails site using iUI and Rails 2.
Jun 06, 2009 | Categories: Development | Leave A Comment »
Elastix uses Postfix, and getting Postfix configured to use Gmail as a SMTP Relay has been incredibly painful to do. This should not be as difficult as it turned out to be, but here is what I had to do to get things working.
Edit the /etc/postfix/main.cf file
nano /etc/postfix/main.cf
Change these lines to your external domain and [...]
Apr 12, 2009 | Categories: Development | 2 Comments »

Having a child is a exhilarating experience. Dealing with the health system in this country however, evokes the exact opposite emotion. One of the most traumatic experiences we had to revisit with the birth of our child was to pick a doctor, a pediatrician, for him and a OB/GYN for my wife. For myself, it [...]
Apr 11, 2009 | Categories: Baby | Leave A Comment »
The baby industry thrives on the ‘guilt syndrome’ Making parents feel guilty if they don’t buy top of the line stuff for them. The other thing its amazingly cashed in on is the organic craze. I never bought into this organic phenomenon really. And now while shopping for baby stuff, its amazing what [...]
Mar 17, 2009 | Categories: Baby | 1 Comment »
There is no excerpt because this is a protected post.
Mar 09, 2009 | Categories: Baby | Enter your password to view comments
There is no excerpt because this is a protected post.
Feb 01, 2009 | Categories: Baby | Enter your password to view comments

I have always been interested in typing in Indian languages on computers, but wanted it to be as easy as typing the equivalent in English and have it transliterate dynamically. Alas, due to the complexity of indian languages and the variation in how people type the equivalent in english, it is hard for that method [...]
Jan 24, 2009 | Categories: Hacks | 1 Comment »

The TV Gods are smiling at BillShrink this week. Close to a 100 TV stations across the country have played segments on BillShrink over the last two days. Both CBS and NBC recorded segments on BillShrink. This is the first time the TV stations have profiled the company directly, as opposed to previous segments that [...]
Jan 21, 2009 | Categories: BillShrink | 6 Comments »
There is no excerpt because this is a protected post.
Jan 11, 2009 | Categories: Baby, Baby Research | Enter your password to view comments