newporta/nitra — pull request #8 by aaronjensen (2013-09-11 02:52:10+00:00)
Title: ActiveRecord::AdapterNotSpecified Edit

issues are apparently disabled on this repo so I'm opening a pull request with the issue, sorry about that :/

I get this when trying to run nitra:

```text
/Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:47:in `resolve_hash_connection': database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in `spec'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activerecord-3.2.14/lib/active_record/connection_adapters/abstract/connection_specification.rb:130:in `establish_connection'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activerecord-3.2.14/lib/active_record/railtie.rb:88:in `block (2 levels) in '
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/lazy_load_hooks.rb:26:in `block in on_load'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/lazy_load_hooks.rb:25:in `each'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/lazy_load_hooks.rb:25:in `on_load'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activerecord-3.2.14/lib/active_record/railtie.rb:80:in `block in '
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/initializable.rb:30:in `run'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/initializable.rb:54:in `each'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/application.rb:136:in `initialize!'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/user/Source/app/config/environment.rb:11:in `'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `block in require'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:236:in `load_dependency'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:251:in `require'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/railties-3.2.14/lib/rails/application.rb:103:in `require_environment!'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/lib/nitra/runner.rb:57:in `block in load_rails_environment'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/lib/nitra/utils.rb:27:in `capture_output'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/lib/nitra/runner.rb:55:in `load_rails_environment'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/lib/nitra/runner.rb:23:in `run'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/lib/nitra/master.rb:29:in `block in run'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/lib/nitra/master.rb:27:in `fork'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/lib/nitra/master.rb:27:in `run'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/gems/nitra-0.9.6/bin/nitra:11:in `'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/bin/nitra:23:in `load'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/bin/nitra:23:in `

'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/user/.rvm/gems/ruby-1.9.3-p448@app/bin/ruby_noexec_wrapper:14:in `

'
```