On Sep 7, 12:20 am, Chris Duff <li...@ruby-forum.com> wrote:
> Environment:
>
> Windows 7 64bit (Home Premium)
>
> Ruby 1.9.2 p290 (2011-07-09) [i386-mingw32]
>
> Rails 3.0.10
>
> MySQL 5.5
>
> The task at hand: Teaching myself web-based database stuff through the
> Ruby on Rails Framework - I have no prior experience with this...
>
> The problem: Ruby, despite my having successfully installed the mysql2
> rubygem thinks that the gem is missing when I invoke a rails command
> that requires it.
>
> After having spent the evening getting the mysql rubygem installed on
> Windows 64 bit, I decided to (finally) get cracking on linking mysql to
> a local rails server. This is how I was trying to do it...
>

Problem is that you're trying to link Ruby (32bits) against MySQL
(64bits) library.

Please read this:

http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/

After you installed, you will require to modify your Gemfile to
reflect either "mysql" or "mysql2" gems and don't forget to adjust
"adapter" in config/database.yml

--
Luis Lavena

-- 
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