Funny, I had same problem but neede the opposite solution: I copied libmysql.dll from msyql/bin to ruby/bin.
Either way, that's a bit less drastic than nuking and reinstalling mysql and ruby, so worth trying first. On Dec 5, 7:19 pm, jasoo24 <[EMAIL PROTECTED]> wrote: > I noticed that you've already managed to resolve the issue, but I also > had a similar problem upgrading to 2.2.2 and found a quick work- > around. Here is my solution in case others need help (if this doesn't > work, try Jason Smith's method). > > -------- > > If you are having problems with MySQL, getting errors like: “The > bundled mysql.rb driver has been removed from Rails 2.2. Please > install the mysql gem and try again: gem install mysql.” “C:/ruby/lib/ > ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so” > > Here is the solution: 1) First, gem install mysql. If this doesn’t > help continue… 2) Copy libmysql.dll from InstantRails (see below) to > your mysql directory (C:\mysql\bin\). Restart your computer and it > should be working. > > InstantRails > libmysql.dll:http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantR... > > On Dec 5, 12:49 pm, Jason Smith <[EMAIL PROTECTED]> > wrote: > > > > > So my final notes as of Dec 05, 2008 to get Ruby, Rails, Mysql working > > on > > Windows Vista Ultimate x64 edition. > > > MySQL x64 will work fine on it's own, but not with the latest versions > > of Ruby on rails, as the mysql driver is for 32 bit only. > > So you have grab an older version[ MySQL 5.0.67 win32(I installed > > essential)], as 5.1.30-win32 won't play nice with Rails. > > After installing you need to reboot, then you run the instance script to > > configure MySQL. > > > Then you can install/update Ruby and Rails and all the gems as you'd > > like. > > > I currently have Ruby 1.8.6 (there is no one step installer for ruby > > 1.8.7 and I had some issues with the binaries) > > Rails 2.2.2 > > Gem 1.3.1 ( had to first run >gem install rubygems-update then > > > >update_rubygems to update from 1.2.0 gems ) > > also ran > > >gem install mysql > > >gem install mongrel > > > Don't forget to make sure the PATH is updated and points to both your > > mysql/bin directory and ruby/bin directories. You can just pop open a > > command prompt and type path to see if it is set. > > -- > > Posted viahttp://www.ruby-forum.com/.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---