# and rake tasks are available in development mode:ĭ:\RAILS-APPS>gem install mysql2 -v 0.2.3 -platform=ruby - '-with-mysql-dir='c:\Program Files\MySQL\MySQL Server 5.5' # put test-only gems in this group so their generators # gem 'sqlite3-ruby', :require => 'sqlite3' # gem 'ruby-debug19', :require => 'ruby-debug' # To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+) # gem 'rails', :git => 'git:///rails/rails.git' Yes I have added (gem 'mysql2') in Gemfile.Also, i have added the 'libmySQL.dll' in Ruby192's bin dir. I am getting the error when I try to create db - 'rake db:create' from cmd prompt as well as from IDE.