Skip to content

Commit

Permalink
Fix task definition to use :environment
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Apr 10, 2017
1 parent d3ccdca commit d1dc5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/curation_concerns.rake
Expand Up @@ -9,7 +9,7 @@ namespace :curation_concerns do
end
namespace :migrate do
desc "Migrate collections"
task collections: :index do
task collections: :environment do
CurationConcerns::DataMigration::CollectionsMigration.run
end
end
Expand Down

0 comments on commit d1dc5db

Please sign in to comment.