【发布时间】:2011-09-06 03:47:23
【问题描述】:
我正在阅读 Ruby on Rails 3 教程书并在命令行中输入以下内容:
rake db:migrate
产生了以下警告。
WARNING: Global access to Rake DSL methods is deprecated. Please Include
... Rake::DSL into classes and modules which use the Rake DSL methods.
WARNING: DSL method DemoApp::Application#task called at /Users/imac/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/railties-3.0.7/lib/rails/application.rb:215:in `initialize_tasks'
我不确定如何处理它或如何使用它。我不知道 Rake 的其他命令。
我该如何解决这个问题?
【问题讨论】:
标签: ruby-on-rails-3 rake railstutorial.org