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

    Tue, 19:54: RT @ TheParkerJam: Suppose you are: * in rails in development mode * using cookies for sessions * raising an exception and not…

  • My tweets

    Mon, 12:48: Well, that was an unexpected turn.

  • My tweets

    Fri, 20:07: I made my first comment on a YouTube video. It got 132 upvotes and 28 comments. The clout is definitely already going to my head.

  • 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