RuntimeError with mysql2 and rails3 (bundler)

Viewed 63363

I get this error

`establish_connection': Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (no such file to load -- active_record/connection_adapters/mysql2_adapter) (RuntimeError)
  from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activerecord-

Here is dump of whole error and my config and gemfile.

11 Answers

just run "gem install mysql" also add the same in gemfile and run bundle. worked

Related