fix(?) rake issues in production when rspec is missing
This commit is contained in:
parent
202f1dc527
commit
b6f1b73738
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ rescue MissingSourceFile
|
||||||
module Core
|
module Core
|
||||||
class RakeTask
|
class RakeTask
|
||||||
def initialize(name)
|
def initialize(name)
|
||||||
|
include Rake::DSL
|
||||||
task name do
|
task name do
|
||||||
# if rspec-rails is a configured gem, this will output helpful material and exit ...
|
# if rspec-rails is a configured gem, this will output helpful material and exit ...
|
||||||
require File.expand_path(File.dirname(__FILE__) + "/../../config/environment")
|
require File.expand_path(File.dirname(__FILE__) + "/../../config/environment")
|
||||||
|
|
Loading…
Reference in a new issue