Permalink
Browse files

Only include Rake::DSL if it is defined.

It is not defined in 0.8.7, which we still need to support.

- #437
  • Loading branch information...
1 parent 71a9740 commit ac96395ba768fb6fb62ad3d4d4d5016eafb020cf @dchelimsky dchelimsky committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rspec/core/rake_task.rb
@@ -6,7 +6,7 @@
module RSpec
module Core
class RakeTask < ::Rake::TaskLib
- include ::Rake::DSL
+ include ::Rake::DSL if defined?(::Rake::DSL)
# Name of task.
#

0 comments on commit ac96395

Please sign in to comment.