Skip to content

Commit

Permalink
Directly run load from rake task
Browse files Browse the repository at this point in the history
  • Loading branch information
rwdaigle committed May 4, 2012
1 parent 99871ef commit 122e0c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tasks/ptls.rake
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ namespace :ptls do
desc "Load words from external sources"
task :load => :environment do
puts "Enqueuing WordnikWODLoader.load!"
$queue.enqueue("WordnikWODLoader.load!")
# $queue.enqueue("WordnikWODLoader.load!")
WordnikWODLoader.load!(Date.today)
end
end

0 comments on commit 122e0c5

Please sign in to comment.