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

后端 未结 4 1310
清歌不尽
清歌不尽 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:12

    I copied libmysql.dll from mysql-connector-c-6.1.5-win32.zip\mysql-connector-c-6.1.5-win32\lib from here http://dev.mysql.com/downloads/connector/c/ to ruby bin directory to make it working

提交回复
热议问题