diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-12-04 10:39:02 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-12-04 10:39:02 +0000 |
commit | 65fe6b5f8c8043d795e289dabe1026a6fa5c3fd2 (patch) | |
tree | 9c95678a804d77e2daad224c049fb4c6c1e1ed4a | |
parent | 5b709d61c1c897f10d9900018fecca4c10731673 (diff) | |
parent | 656d2d1170cbcf42b8ff0f0d8321e95702636707 (diff) |
Merge remote-tracking branch 'origin/restore-xapian-rake-tasks' into rails-3-develop
-rw-r--r-- | Rakefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,5 +5,7 @@ require File.expand_path('../config/application', __FILE__) require 'rake' Alaveteli::Application.load_tasks if Rails.env == 'test' - Dir[File.join(File.dirname(__FILE__),'commonlib','rblib','tests','*.rake')].each { |file| load(file) } + Dir[Rails.root.join('commonlib','rblib','tests','*.rake')].each { |file| load(file) } end +# Make sure the the acts_as_xapian tasks are also loaded: +Dir[Rails.root.join('lib','acts_as_xapian','tasks','*.rake')].each { |file| load(file) } |