only load the rake dsl in if it's possible
This commit is contained in:
parent
6f85d3d1e8
commit
96352d21a0
@ -1,7 +1,11 @@
|
||||
module Jasmine
|
||||
module Headless
|
||||
class Task
|
||||
include Rake::DSL
|
||||
begin
|
||||
include Rake::DSL
|
||||
rescue NameError
|
||||
# never mind
|
||||
end
|
||||
|
||||
attr_accessor :colors, :keep_on_error, :jasmine_config
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user