On Oct 24, 2005, at 1:22 PM, chris@pawlak.net wrote:
> Has anyone successfully created the db2 driver binary on windows XP
> box.
> I found the message:
> http://groups.google.com/group/comp.lang.ruby/browse_thread/thread/
> 1f9197b933e18a36/a34ca71f56b159f9?q=db2&rnum=2&hl=en#a34ca71f56b159f9
>
>
> but changing the extconf code and playing around the paths still did
> not succeed for me.
>
> any other tips would be appreciated
>
> Ruby Version: ruby 1.8.2 (2004-12-25) [i386-mswin32]
> Db2 version 8
> Windows XP version 2002 service pack 1
>
> Additionaly has anyone successfully used rails with DB2 on XP or win
> 2000 server.
You may have better luck on the Rails mailing list:
I did get ruby via the odbc connector to talk to db2.
The problem is that active record in rails needs the native driver to
do it's magic. I tried setting up DBI with ODBC as the host interface,
but you still need to specify the db adapter. For fun I used sqlserver
and as expected it failed since it was trying to make to sqlserver
specific calls.