Don't know how to build task 'db:test:load'
mwilliams opened this issue · 3 comments
Attempting to get Specjour up and running on a project of mine. On an i7 MBP, it finds the 4 cores just fine and spins up 4 workers.
Here's a private gist of the trace: https://gist.github.com/cc31923a0ac2c9cc4301
ruby-1.8.7-p249
rspec (1.3.0)
rspec-rails (1.3.2)
rails (2.3.4)
specjour (0.2.5)
Any thoughts or missing pieces in the puzzle?
Looks like it's having trouble scraping the database. Can you successfully run the db:test:load rake task? It should look like this
~$ rake -D db:test:load
rake db:test:load
Recreate the test database from the current schema.rb
db_scrub.rb will load your Rakefile which should require tasks/rails
which contains the db:test:load task. I need to make these require statements more specific...
I'm able to see db:test:load...
So I swapped over to the initializer config described in the README and end up with basically the same issue:
/Users/mwilliams/.rvm/gems/ruby-1.8.7-p249@global/gems/rake-0.8.7/lib/rake.rb:1728:in `[]': Don't know how to build task 'db:reset' (RuntimeError)
from /Users/mwilliams/.rvm/gems/ruby-1.8.7-p249@global/gems/rake-0.8.7/lib/rake.rb:729:in `[]'
from /private/tmp/sa-website/config/initializers/specjour.rb:7
Anything else I can dump here or provide configuration wise? It seems like it should be pretty trivial... Maybe I'll give it ago against another Rails project and see what I end up with.