akitaonrails/cramp_chat_demo — Issue #3: Adapter error: gem install activerecord-em_mysql-adapter
Author: teamco
Created: 2011-12-04 14:54:15+00:00
State: open

➜ akitaonrails-cramp_chat_demo-da8ee71 bundle exec thin --timeout 0 -V -R config.ru start
/Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.0.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:71:in `rescue in establish_connection': Please install the mysql2 adapter: `gem install activerecord-em_mysql-adapter` (dlopen(/Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/mysql2-0.2.17/lib/mysql2/mysql2.bundle, 9): Library not loaded: libmysqlclient.18.dylib (RuntimeError)
Referenced from: /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/mysql2-0.2.17/lib/mysql2/mysql2.bundle
Reason: image not found - /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/mysql2-0.2.17/lib/mysql2/mysql2.bundle)
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.0.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:68:in `establish_connection'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/activerecord-3.0.11/lib/active_record/connection_adapters/abstract/connection_specification.rb:60:in `establish_connection'
from config.ru:23:in `block in

'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.5/lib/rack/builder.rb:51:in `instance_eval'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/rack-1.3.5/lib/rack/builder.rb:51:in `initialize'
from config.ru:1:in `new'
from config.ru:1:in `

'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/thin-1.3.1/lib/rack/adapter/loader.rb:36:in `eval'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/thin-1.3.1/lib/rack/adapter/loader.rb:36:in `load'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/thin-1.3.1/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/thin-1.3.1/lib/thin/controllers/controller.rb:71:in `start'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/gems/thin-1.3.1/bin/thin:6:in `'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/bin/thin:19:in `load'
from /Users/xxx/.rvm/gems/ruby-1.9.3-p0/bin/thin:19:in `

'