From ffacf272e71e6f2b1c4210ca0bd667a1fdf47ae9 Mon Sep 17 00:00:00 2001 From: Miles Gould Date: Thu, 4 Jul 2013 13:46:36 +0100 Subject: [PATCH] Fix "uninitialized constant Rake::DSL" on Heroku. From http://stackoverflow.com/questions/6181312/how-to-fix-the-uninitialized-constant-rakedsl-problem-on-heroku/6263256#6263256 --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 10e405202..7e5e8eed3 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,7 @@ # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. +require 'rake/dsl_definition' require File.expand_path('../config/application', __FILE__) Growstuff::Application.load_tasks