Open sciguy opened 13 years ago
I managed to workaround this by installing the mysql gem, rather than the mysql2 gem. I'm not sure if having the mysql2 gem interferes with this, but I got it to work (on 1.9.2 at least).
@jandot: should the mysql gem be a gem dependency or ruby-ensembl-api?
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.