Skip to content

Commit

Permalink
preload task now depends on setup task
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Aug 23, 2011
1 parent 6d03ab5 commit 4c75ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque/tasks.rb
Expand Up @@ -41,7 +41,7 @@
end

# Preload app files if this is Rails
task :preload do
task :preload => :setup do
if defined? Rails
Dir["#{Rails.root}/app/**/*.rb"].each do |file|
require file
Expand Down

0 comments on commit 4c75ef2

Please sign in to comment.