我正在阅读 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 的任何其他命令。
我该如何解决这个问题?