diff options
Diffstat (limited to 'railties/lib/rails/tasks/restart.rake')
-rw-r--r-- | railties/lib/rails/tasks/restart.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/tasks/restart.rake b/railties/lib/rails/tasks/restart.rake index 1e8940b675..f36c86d81b 100644 --- a/railties/lib/rails/tasks/restart.rake +++ b/railties/lib/rails/tasks/restart.rake @@ -1,4 +1,5 @@ desc "Restart app by touching tmp/restart.txt" task :restart do + FileUtils.mkdir_p('tmp') FileUtils.touch('tmp/restart.txt') end |