相关疑难解决方法(0)

为什么rake db:migrate:reset没有在rake -T中列出?

为什么没有列出一些rake任务rake -T?喜欢db:migrate:reset?我可以毫无问题地执行它,但为什么不在那里列出?有没有办法获得一个真正的rake任务完整列表?

% rake -T
(in /home/zeus/projects/my_project)
rake about              # List versions of all Rails frameworks and the environment
rake db:create          # Create the database from config/database.yml for the current Rails.env (use db:create:all to create all dbs in the config)
rake db:drop            # Drops the database for the current Rails.env (use db:drop:all to drop all databases)
rake db:fixtures:load   # Load fixtures into the current environment's database.
rake db:migrate         # Migrate the database (options: VERSION=x, VERBOSE=false).
rake …

ruby rake ruby-on-rails

72
推荐指数
4
解决办法
2万
查看次数

标签 统计

rake ×1

ruby ×1

ruby-on-rails ×1