While attempting to get ruby to connect to a SQL server using DBI.connect I ran into a bit of a challenge...getting the error message
'load_driver' is not a class/module
To resolve this :
- Download ruby_dbi the files from http://rubyforge.org/frs/?group_id=234&release_id=20222
- Create the directories under \ruby\lib\ruby\1.8\ called \DBD\ADO
- From your extract copy the file ADO.rb into that directory
This works with V1.8.5-24
Here's hoping this might save some one some time.
-ec
No comments:
Post a Comment