我在迁移时遇到了麻烦。感谢您分享您的时间,感谢您的帮助!
- 视窗 7(64 位)
- 红宝石:1.9.2p290
- 导轨:3.2.3
- MySQL:5.5.24
> rake db:向上迁移 VERSION=20120529170841 --trace ** 调用 db:migrate (first_time) ** 调用环境(first_time) ** 执行环境 ** 调用 db:load_config (first_time) ** 调用 rails_env (first_time) ** 执行 rails_env ** 执行 db:load_config ** 执行数据库:迁移 ** 调用 db:_dump (first_time) ** 执行 db:_dump ** 调用 db:schema:dump (first_time) ** 调用环境 ** 调用 db:load_config ** 执行 db:schema:dump 耙中止! 不知道如何“向上”构建任务 C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task_manager.rb:49:in `[]' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:115:in `invoke_task' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in` top_level 中的块(2 级)' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in` 每个' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in` 阻止顶层' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `标准异常处理' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in` 顶层' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in` 阻止运行' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `标准异常处理' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in` 跑' C:/Ruby192/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `' C:/Ruby192/bin/rake:23:in `load' C:/Ruby192/bin/rake:23:in `'