Rails 3.1.1 中遇到 uninitialized constant Rake::DSL

解决方法!

在 Rakefile里添加

require 'rake/dsl_definition'

问题解决!