Giter VIP home page Giter VIP logo

Comments (3)

sandro avatar sandro commented on August 25, 2024

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...

from specjour.

mwilliams avatar mwilliams commented on August 25, 2024

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.

from specjour.

sandro avatar sandro commented on August 25, 2024

Explicitly require dependencies for db scrubbing

Closed by 98d1b10

from specjour.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.