On Monday I “upgraded” from Rails 1.2.6 to 2.2.2 (also upgrading to
gem 1.3.1) but in the process have lost the ability to connect with my
mysql database. After finally reinstalling the MySQL gem with the
following gerrymandered command I found on a website (http://
sudo env ARCHFLAGS="-arch ppc64e$B!me(B gem install -V mysql –
It still doesn’t work! After attempting to access one of my views in
Firefox (3.0.3) I got the following error message:
!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
/!\ FAILSAFE /!\ Wed Jan 07 10:57:23 -0500 2009
Status: 500 Internal Server Error
no suitable image found. Did find:
/Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle: mach-o, but
wrong architecture - /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/
Simply running “gem install mysql” still doesn’t work (hence the hyper
specific command above).
I’m running Mac OS X 10.5.6 on a MacBook with Intel Core 2 Duo.
If anyone has any suggestions I’m all ears. I’ve been locked out of
my rails system for 2 days now and really need to get back to work.