简体   繁体   中英

rake db:test:load not working

i am working on a project that requires Rails 1.2.6. I am setting up my first test environment, but i get a "rake aborted! Don't know how to build task 'db:test:load'"

when i try "rake db:test:load." is this command only for Rails 2.x? do i need to use a deprecated command?

I'm afraid I can't point you at the right task but it might be worth trying rake -T to show which tasks are available. You can get further information on a task using rake --describe some:task if the truncated description from -T isn't sufficient.

尝试:

rake db:test:clone

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM