Commit 4d57e4fe by Jeremy Olliver

Explicitly require rake, fixing rake version compatibility

parent 3fae3291
......@@ -14,6 +14,7 @@ module Annotate
def self.load_tasks
if File.exists?('Rakefile')
require 'rake'
load 'Rakefile'
Dir[File.join(File.dirname(__FILE__), 'tasks', '**/*.rake')].each { |rake| load rake }
return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment