Skip to content

Missing the mysql2 gem #4

@sciguy

Description

@sciguy

With ActiveRecord 3, I get the following error when trying to connect:

/Users/jason/.rvm/gems/ruby-1.8.7-p302/gems/activerecord-3.0.3/lib/active_record/connection_adapters/mysql_adapter.rb:22:in `mysql_connection': !!! Missing the mysql2 gem. Add it to your Gemfile: gem 'mysql2' (RuntimeError)

I was able to correct this by changing the DB_ADAPTER to 'mysql2' in the /lib/ensembl/db_connection.rb file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions