| Message: 93147 |
 |
BY: Erik Hollensbe (erikh) DATE: 2010-03-26 12:01 SUBJECT: RE: not able to connect ruby 1.8.7 with mysql 5.1 In short:
What happens here is pretty simple. The one-click installs a copy of DBI in the standard load path, and the gem installs via rubygems.
Unfortunately, the load path always wins in this regard; installing DBI via gems or even over 0.1.1 will not work.
There is a script that comes with the gem, called 'test_broken_dbi' that is built just to detect this scenario; it should help you when you follow the upcoming directions.
What you need to do is locate the old (0.1.1) version of DBI in your load path, remove it, and install the gem. At that point, 'test_broken_dbi' should report no problems.
Unfortunately, every attempt I've made in the past to get this extricated BEFORE it gets to the users has fallen on deaf ears, so this is the best I can do. I apologize that it has become such an issue for you. | |