Installing MySQL2 Gem on Windows
问题 I was having some issues getting the mysql2 gem to install on my Windows 8.1 machine. I followed the instructions in this post: Ruby MYSQL2 gem installation on windows 7 to install the mysql2 gem, and I did not get any error messages. I followed this with the bundle install command, and confirmed that the following gems are installed (using bundle show), confirming that I have the following gems installed: Using devise (3.2.2) Using mysql2 (0.3.14) Then I tried doing: rails generate devise