1
0
Fork 0
forked from OpenNeo/impress

fix(?) rake issues in production when rspec is missing

This commit is contained in:
Emi Matchu 2013-01-02 23:56:44 -05:00
parent 202f1dc527
commit b6f1b73738

View file

@ -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")