Skip to content

Instantly share code, notes, and snippets.

@etagwerker
Created December 21, 2010 02:59
Show Gist options
  • Save etagwerker/749419 to your computer and use it in GitHub Desktop.
Save etagwerker/749419 to your computer and use it in GitHub Desktop.
this makes no fucking sense! WTF?!
[etagwerker@bazinga current]$ rvm-prompt
ruby-1.9.2-p0
[etagwerker@bazinga current]$ gem list | grep mysql2
mysql2 (0.2.6)
[etagwerker@bazinga current]$ cat Gemfile | grep mysql2
gem 'mysql2'
[etagwerker@bazinga current]$ rails c production
/home/etagwerker/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/mysql_adapter.rb:22:in `rescue in mysql_connection': !!! Missing the mysql2 gem. Add it to your Gemfile: gem 'mysql2' (RuntimeError)
from /home/etagwerker/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.0.3/lib/active_record/connection_adapters/mysql_adapter.rb:19:in `mysql_connection'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment