diff options
author | Mark Longair <mhl@pobox.com> | 2013-12-03 18:02:03 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-12-03 18:02:03 +0000 |
commit | baf03db06dba70bab6e0b9ceb3a42da3a6a135c5 (patch) | |
tree | 7ff8bd41754ade603ebcac49c2ffd4e388f79f84 | |
parent | 0fe4865455786164c95766f514b4625e6061136f (diff) |
Add back the acts_as_xapian Rake tasks
An effect of moving the acts_as_xapian plugin out of vendor/plugins is
that its Rake tasks are no longer found. A fix for this (although
not necessarily the best) is in this commit - load everything in
lib/acts_as_xapian/tasks/*.rake in the Rakefile.
-rw-r--r-- | Rakefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -7,3 +7,5 @@ Alaveteli::Application.load_tasks if Rails.env == 'test' Dir[File.join(File.dirname(__FILE__),'commonlib','rblib','tests','*.rake')].each { |file| load(file) } end +# Make sure the the acts_as_xapian tasks are also loaded: +Dir[File.join(File.dirname(__FILE__),'lib','acts_as_xapian','tasks','*.rake')].each { |file| load(file) } |