undefined method 'task'问题
在rails3.0,rake0.9.0下,rake时会报undefined method `task'的错误,解决方法,在Rakefile文件中加入一下代码:
require 'rake/dsl'
?转自:http://www.aiseeu.com/blog/archives/501.html
?
说明:https://github.com/jimweirich/rake/pull/35