Skip to content

Instantly share code, notes, and snippets.

@chinghanho
Created November 25, 2012 11:45
Show Gist options
  • Save chinghanho/4143208 to your computer and use it in GitHub Desktop.
Save chinghanho/4143208 to your computer and use it in GitHub Desktop.
Rebuild system by rake
namespace :dev do
desc "Rebuild system"
task :build => ["tmp:clear", "log:clear", "db:drop", "db:create", "db:migrate"]
task :rebuild => [ "dev:build", "db:seed" ]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment