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 Jasmine
module Headless module Headless
class Task class Task
begin
include Rake::DSL include Rake::DSL
rescue NameError
# never mind
end
attr_accessor :colors, :keep_on_error, :jasmine_config attr_accessor :colors, :keep_on_error, :jasmine_config