C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/mysql2-0.3.20-x64-mingw32/lib/mysql2/mysql2.rb:2:in `require': cannot load such file -- mysql2/2.3/mysql2 (LoadError)

Hi, This is Moyin here.

Actually i’m very new to Ruby trying to run my first project on Windows machine, i’m getting this above error please help me out, how to fix this. i tried searching on web but didn’t get much info for windows support. Please let me know if there is a fix.

please could someone help on this.

Hi Moyin

Do you have the mysql2 gem installed?
Maybe you just need to run the command: gem install mysql2

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs