Hi, I had to install 32 bit MySQL in order to get Rails running on my
Mac.

On Jan 7, 5:16 pm, jabauer <jab...@gmail.com> wrote:
> 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://
> involution.com/category/ruby-on-rails/):
>
> sudo env ARCHFLAGS="-arch ppc64″ gem install -V mysql -- -with-mysql-
> include=/usr/local/mysql/include/ -with-mysql-lib=/usr/local/mysql/lib
> -with-mysql-config=/usr/local/mysql/bin/mysql_config -with-mysql-dir=/
> usr/local/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
>   dlopen(/Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle, 9):
> 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/
> mysql.bundle
>     /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle
>
> 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.
>
> Many thanks.
>
> --Jean--
--~--~---------~--~----~------------~-------~--~----~
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 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to