Adding include Rake::DSL
to the Rakefile before the applications load_tasks were called also worked for me.
So in the above user’s case before the DemoApp::Application.load_tasks
in the Rakefile.
Adding include Rake::DSL
to the Rakefile before the applications load_tasks were called also worked for me.
So in the above user’s case before the DemoApp::Application.load_tasks
in the Rakefile.