Skip to content

Instantly share code, notes, and snippets.

@m4tm4t
Created April 16, 2012 21:26
Show Gist options
  • Save m4tm4t/2401656 to your computer and use it in GitHub Desktop.
Save m4tm4t/2401656 to your computer and use it in GitHub Desktop.
Clean a rails app
task :clear_all do
%w(tmp:clear log:clear assets:clean).each do |t|
puts "Running #{t}"
task(t).execute
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment