Wednesday, April 14, 2010

Install ibm_db on Ruby-mingw32

Here are the steps:

1. Install mingw compiled Ruby from
2. Install Ruby Development Kit from
3. follow the instruction of Development Kit
4. If you install IBM DB2 client in "c:\Program Files", you can do like this:

set IBM_DB_LIB=%ProgramFiles%/IBM/SQLLIB/LIB
gem install ibm_db

Because there is a space in "Program Files", adding quotes or escaping the space like "\ " do not work for me.

No comments:

Post a Comment