require 'rake' before requiring Rake tasks
Without this, % rails r "require 'rails/tasks'" would cause a NoMethodError: undefined method `desc' for main:Object
Showing
想要评论请 注册 或 登录
Without this, % rails r "require 'rails/tasks'" would cause a NoMethodError: undefined method `desc' for main:Object