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

    Mon, 08:57: RT @ thomdunn: New inspiration just dropped

  • My tweets

    Fri, 23:43: RT @ TheParkerJam: Have any fellow EST @ Fusion fans been following this year? Between new time zone and the gaps between games, I…

  • My tweets

    Fri, 10:53: RT @ TheParkerJam: I can now say I'm in an Among Us YouTube video that has features Kimi, Ellum, and Chilled. 🤯(OK, it's a…

  • 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