fix loading of rake task
This commit is contained in:
parent
16fcd59a12
commit
9a5f3c1c27
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user