changed version in in Gemfile gem 'mysql2', '~> 0.3.11'