Skip to content

Instantly share code, notes, and snippets.

@raulgobr
Created March 14, 2014 11:43
Show Gist options
  • Save raulgobr/9546217 to your computer and use it in GitHub Desktop.
Save raulgobr/9546217 to your computer and use it in GitHub Desktop.
trace for odd error on db
Stefanoss-Mac-mini:AwesomeWeb stefanosioannou$ RAILS_ENV="test" rake db:create --trace
WARNING: Nokogiri was built against LibXML version 2.8.0, but has dynamically loaded 2.7.8
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:create
rake aborted!
database configuration does not specify adapter
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/activerecord-4.0.3/lib/active_record/connection_adapters/connection_specification.rb:52:in `resolve_hash_connection'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/activerecord-4.0.3/lib/active_record/connection_adapters/connection_specification.rb:46:in `resolve_string_connection'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/activerecord-4.0.3/lib/active_record/connection_adapters/connection_specification.rb:32:in `spec'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/activerecord-4.0.3/lib/active_record/connection_handling.rb:39:in `establish_connection'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/activerecord-4.0.3/lib/active_record/tasks/database_tasks.rb:89:in `create_current'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/activerecord-4.0.3/lib/active_record/railties/databases.rake:20:in `block (2 levels) in <top (required)>'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/task.rb:231:in `each'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/task.rb:231:in `execute'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/stefanosioannou/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/task.rb:161:in `invoke'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:149:in `invoke_task'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:106:in `each'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:106:in `block in top_level'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:115:in `run_with_threads'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:100:in `top_level'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:78:in `block in run'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/lib/rake/application.rb:75:in `run'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/gems/rake-10.1.1/bin/rake:33:in `<top (required)>'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/bin/rake:23:in `load'
/Users/stefanosioannou/.rvm/gems/ruby-1.9.3-p484/bin/rake:23:in `<main>'
Tasks: TOP => db:create
Stefanoss-Mac-mini:AwesomeWeb stefanosioannou$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment