Rails & DB2

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.

Thanks
Chris

You may have better luck on the Rails mailing list:

http://lists.rubyonrails.org/mailman/listinfo/rails

···

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.

--
Eric Hodel - drbrain@segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

Will the odbc connector work? I'ved used DB2 odbc connectors for other
things so I can't see why not.

···

On 10/24/05, chris@pawlak.net <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.

Thanks
Chris

Thanks for the link.

Eric Hodel wrote:

···

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:

http://lists.rubyonrails.org/mailman/listinfo/rails

--
Eric Hodel - drbrain@segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04

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.