I’ve got the ibm_db2 driver running successfully here.
I’ve started writing a presentation on this for IDUG in May, and the
installation is documented in it. You can pick up the latest version
(that’s a OpenOffice Presentation).
If that doesn’t help, if you let me know your environment (operating
Ruby and Rails versions etc.) then I’ll try to help further.