Topic: Rake problem with older rails app
I updated one of my apps too rails 3 but now the rake in my older apps doesn't work.
This app has no gemfile but only a rakefile
require(File.join(File.dirname(__FILE__), 'config', 'boot')) require 'rake/dsl_definition' require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'tasks/rails'
I included the dsl_definition after problems with this error
uninitialized constant Rake::DSL
But now my app is running into next error
undefined method `deprecate' for #<Rake::Application:0x10047c308>
can anybody tell me how i can use rake in my older applications.