fix loading of rake task

This commit is contained in:
John Bintz 2011-11-25 20:15:27 -05:00
parent 16fcd59a12
commit 9a5f3c1c27

View File

@ -6,5 +6,5 @@ end
# prevent the task from being loaded multiple times. # prevent the task from being loaded multiple times.
unless Rake::Task.task_defined? "db:populate" unless Rake::Task.task_defined? "db:populate"
# Load the rakefile so users of the gem get the tasks # Load the rakefile so users of the gem get the tasks
load File.join(DbPopulate::DBP_ROOT, '..', 'tasks', 'populate.rake') load File.join(DbPopulate::DBP_ROOT, 'tasks', 'populate.rake')
end end