Skip to content

Instantly share code, notes, and snippets.

@ThroughTheNet
Created January 31, 2012 15:08
Show Gist options
  • Save ThroughTheNet/1710966 to your computer and use it in GitHub Desktop.
Save ThroughTheNet/1710966 to your computer and use it in GitHub Desktop.
pry_ext_xpl error
$ be rake test_app --trace DB_NAME=sqlite3
** Invoke test_app (first_time)
** Execute test_app
** Invoke common:test_app (first_time)
** Execute common:test_app
Generating dummy Rails application...
Copying migrations...
Setting up dummy database...
** Invoke db:drop (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
** Execute rails_env
** Execute db:load_config
** Execute db:drop
Couldn't drop dummy_test : #<RuntimeError: RuntimeError>
** Invoke db:create (first_time)
** Invoke db:load_config
** Execute db:create
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
RuntimeError
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/task.rb:162:in `rescue in invoke_with_call_chain'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/task.rb:150:in `invoke_with_call_chain'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/task.rb:144:in `invoke'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:116:in `invoke_task'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:94:in `block (2 levels) in top_level'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:94:in `each'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:94:in `block in top_level'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:88:in `top_level'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:66:in `block in run'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:133:in `standard_exception_handling'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:63:in `run'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:32:in `<top (required)>'
/Users/jonnie/.rbenv/versions/1.9.3-p0/bin/rake:19:in `load'
/Users/jonnie/.rbenv/versions/1.9.3-p0/bin/rake:19:in `<main>'
Tasks: TOP => db:migrate => environment
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:136:in `rescue in standard_exception_handling': RuntimeError (RuntimeError)
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:132:in `standard_exception_handling'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/rake/application.rb:63:in `run'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:32:in `<top (required)>'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/bin/rake:19:in `load'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/bin/rake:19:in `<main>'
/Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:229:in `rescue in load_dependency': RuntimeError (RuntimeError)
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:222:in `load_dependency'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rack-mount-0.8.3/lib/rack/mount/route_set.rb:2:in `<top (required)>'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:273:in `clear!'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.1.3/lib/action_dispatch/routing/route_set.rb:230:in `initialize'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:466:in `new'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:466:in `routes'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/engine.rb:519:in `block in <class:Engine>'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `run'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `each'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/application.rb:96:in `initialize!'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/jonnie/projects/flowers/travelling_salesman/spec/dummy/config/environment.rb:5:in `<top (required)>'
from /Users/jonnie/projects/flowers/travelling_salesman/spec/spec_helper.rb:4:in `require'
from /Users/jonnie/projects/flowers/travelling_salesman/spec/spec_helper.rb:4:in `<top (required)>'
from /Users/jonnie/projects/flowers/travelling_salesman/spec/requests/admin_orders_spec.rb:1:in `require'
from /Users/jonnie/projects/flowers/travelling_salesman/spec/requests/admin_orders_spec.rb:1:in `<top (required)>'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `load'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `block in load_spec_files'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `map'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in `load_spec_files'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:22:in `run'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in `run_in_process'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:69:in `run'
from /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment