From b6f1b73738db356ce1457c9784b978e999a4e942 Mon Sep 17 00:00:00 2001 From: Matchu Date: Wed, 2 Jan 2013 23:56:44 -0500 Subject: [PATCH] fix(?) rake issues in production when rspec is missing --- lib/tasks/rspec.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake index a580b8fa..4a1e1657 100644 --- a/lib/tasks/rspec.rake +++ b/lib/tasks/rspec.rake @@ -6,6 +6,7 @@ rescue MissingSourceFile module Core class RakeTask def initialize(name) + include Rake::DSL task name do # if rspec-rails is a configured gem, this will output helpful material and exit ... require File.expand_path(File.dirname(__FILE__) + "/../../config/environment")