small medium large xlarge

Generic-user-small
17 Dec 2014, 22:09
Kevin Weinberg (3 posts)

I get this error when running rake:db seeds:

rake aborted! Don’t know how to build task ‘db:seeds’

when I run trace i get this:

/Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task_manager.rb:62:in []' /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:149:in invoke_task’ /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in block (2 levels) in top_level' /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in each’ /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in block in top_level' /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads’ /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in top_level' /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run’ /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in standard_exception_handling' /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in run’ /Users/user1234/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in <top (required)>' /Users/user1234/.rbenv/versions/2.1.2/bin/rake:23:in load’ /Users/user1234/.rbenv/versions/2.1.2/bin/rake:23:in `'

help?

Generic-user-small
17 Dec 2014, 23:29
Kevin Weinberg (3 posts)

Figured it out. you have to run rake db:seed (singular)

not rake db:seeds (plural)

You must be logged in to comment