Chaz Meyers (cpm) wrote,
Chaz Meyers

Under Win32, installing mysql gem is bad.

This is for my own future reference as well as giving Google more fodder.

I was setting up a Windows XP computer with RubyOnRails.

rake db:migrate failed, giving this error:
undefined method `each' for #<Mysql:0x3594dd8>

The solution is to uninstall the gem for MySQL. You can do this by running:
gem uninstall mysql
Tags: lend a hand?, nerdcore, rage, rails, ruby, software

  • My tweets

    Sun, 11:22: RT @ B20e: I'm an ER Nurse in Seattle. Last night @ SeattlePD officers came to the ER to obtain a statement from an assault…

  • My tweets

    Fri, 01:08: RT @ DrLisaCorrigan: Get in girls. We're going hunting.

  • My tweets

    Sun, 15:31: RT @ dinoman_j: Sun, 15:44: As a Google Fi customer, I'm confused by Google's phone offerings, esp…

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment