E
Ed Bayudan
I get a 'TypeError' when I run the following script:
require 'dbi'
dbi = DBI.connect('DBI:Mysql:wrdb_development', 'root', '') do |dbh|
end
C:/Rails/InstantRails/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:501:in
`load_driver': is not a class/module (TypeError)
This after installing the following gems:
mysql-2.7.3-mswin32
dbd-mysql-0.4.2
dbi-0.4.1
deprecated-2.0.1
I am running InstantRails in WinXP
I've searched all over and the solutions I've found have not fixed this
problem.
I did notice that installing the above gems did not create MySQL driver
directories in
C:/Rails/InstantRails/ruby/lib/ruby/site_ruby/1.8/DBD/
I only see 'ODBC' and 'Proxy' directories.
Are there additional setup scripts I need to run?
require 'dbi'
dbi = DBI.connect('DBI:Mysql:wrdb_development', 'root', '') do |dbh|
end
C:/Rails/InstantRails/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:501:in
`load_driver': is not a class/module (TypeError)
This after installing the following gems:
mysql-2.7.3-mswin32
dbd-mysql-0.4.2
dbi-0.4.1
deprecated-2.0.1
I am running InstantRails in WinXP
I've searched all over and the solutions I've found have not fixed this
problem.
I did notice that installing the above gems did not create MySQL driver
directories in
C:/Rails/InstantRails/ruby/lib/ruby/site_ruby/1.8/DBD/
I only see 'ODBC' and 'Proxy' directories.
Are there additional setup scripts I need to run?