rake task for restart rails application runed on mod_rails
1 2 amespace :passenger do 3 desc "Restart Application" 4 task :restart do 5 puts `touch tmp/restart.txt` 6 end 7 end
DZone Snippets > bublik > mod_rails
13397 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Voloshin Ruslan http://rubyclub.com.ua/
1 2 amespace :passenger do 3 desc "Restart Application" 4 task :restart do 5 puts `touch tmp/restart.txt` 6 end 7 end