aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/tasks/restart.rake
Commit message (Collapse)AuthorAgeFilesLines
* `rake restart` should work without a `tmp` folderYoong Kang Lim2015-05-301-0/+1
| | | | | | | | | | | | | In restart.rake, the creation of tmp/restart.txt would fail if the tmp folder does not exist in the app. This is a problem because apps cloned using git would not have the tmp folder, as the folder is in .gitignore. This commit creates the tmp folder if it does not exist. Fixes #20299 [Yoong Kang Lim, Sunny Juneja]
* Rake restart task no longer loads entire Rails environment when run.Hyonjee Joo2015-03-021-1/+1
| | | | | The restart task does not need access to models or other classes and helpers from the application environment.
* Created rake restart task.Hyonjee Joo2015-02-261-0/+4
Fixes #18876. Rake restart touches `tmp/restart.txt` to restart application on next request. Updated tests and documentation accordingly.