LoadError trying to use MySQL with Ruby on Rails in Windows, RubyMine IDE

后端 未结 4 1314
清歌不尽
清歌不尽 2020-12-17 05:30

I am getting the following error when trying to run a simple Ruby on Rails application from RubyMine:

C:/Ruby192/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6-x86-mi         


        
4条回答
  •  爱一瞬间的悲伤
    2020-12-17 06:10

    Thanks, I was able to fix the error. To fix this error, I copied "libmySQL.dll" file from 'C:\Program Files\MySQL\MySQL Server 5.1\bin' to 'C:\Ruby192\bin'. For details, refer to post - http://rorguide.blogspot.com/2011/03/getting-error-specified-module-could.html

提交回复
热议问题