How to fix the uninitialized constant Rake::DSL problem on Heroku?

Put this in your Rakefile above require ‘rake’:

require 'rake/dsl_definition'

Leave a Comment