only load the rake dsl in if it's possible

This commit is contained in:
John Bintz 2011-06-16 19:33:36 -04:00
parent 6f85d3d1e8
commit 96352d21a0

View File

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