Hi, I am a new guy in Ruby on rails.I have installed ruby1.9.2p180, rails 3.2.1, gem 1.8.15,mysql,apache 2.0 and JetBrains RubyMine 3.1.1 . Whenever, I am creating the application through he command prompt by "rails new Blog" then "Blog" application is creating successfully and start the server under "Blog" by "rails server". But whenever, I am creating the project through the RubyMine IDE, lets say "Apt" and trying to switch on the server, getting the following issue:
C:/ruby/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/mysql2.rb: 2:in `require': Incorrect MySQL client library version! This gem was compiled fo r 6.0.0 but the client library is 5.0.89. (RuntimeError) from C:/ruby/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysq l2/mysql2.rb:2:in `<top (required)>' from C:/ruby/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysq l2.rb:9:in `require' from C:/ruby/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/lib/mysq l2.rb:9:in `<top (required)>' from C:/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime .rb:68:in `require' from C:/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime .rb:68:in `block (2 levels) in require' from C:/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime .rb:66:in `each' from C:/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime .rb:66:in `block in require' from C:/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime .rb:55:in `each' from C:/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime .rb:55:in `require' from C:/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler.rb:122: in `require' from C:/ruby/rubygem/Apt/config/application.rb:13:in `<top (required)>' from C:/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/commands. rb:53:in `require' from C:/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/commands. rb:53:in `block in <top (required)>' from C:/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/commands. rb:50:in `tap' from C:/ruby/lib/ruby/gems/1.9.1/gems/railties-3.2.1/lib/rails/commands. rb:50:in `<top (required)>' from script/rails:6:in `require' from script/rails:6:in `<main>'
How can I solve this issue?