db:migrate 时 sqlite3 发生错误,但是数据库表建立成功,既然成功了还会有错误提示,很是不明白。
rake db:migrate WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead. at /home/tiny/.rvm/gems/ruby-1.8.7-p370@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb 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 Testt::Application#task called at /home/tiny/.rvm/gems/ruby-1.8.7-p370/gems/railties-3.0.5/lib/rails/application.rb:214:in `initialize_tasks' == CreateUsers: migrating ==================================================== -- create_table(:users) -> 0.0035s == CreateUsers: migrated (0.0037s) ===========================================
我的英文不是特别的好,错误提示中是 WARNING 好像是帮助文档发生错误,具体的原因求大家指点一下。