aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorYoong Kang Lim <yoongkang.lim@gmail.com>2015-05-26 21:52:10 +1000
committerGodfrey Chan <godfreykfc@gmail.com>2015-05-30 00:44:12 -0700
commitf06ce4c12a396795a3b2c1812951d9277bcb3a82 (patch)
treebbebbb70cfe0b71deacd3347aa67517102e88aab /railties/CHANGELOG.md
parent6fc83f8efeb1637af5d17b0d7b0c4b2e3db3c001 (diff)
downloadrails-f06ce4c12a396795a3b2c1812951d9277bcb3a82.tar.gz
rails-f06ce4c12a396795a3b2c1812951d9277bcb3a82.tar.bz2
rails-f06ce4c12a396795a3b2c1812951d9277bcb3a82.zip
Generate a `.keep` file in `tmp` folder
A lot of scripts assumes the existence of this folder and most would fail if it is absent. One example of this is `rake restart` (before the previous commit) – it tries to `touch tmp/restart.txt`, which would fail if `tmp` does not exist, which was the case for a freshly-cloned project as `tmp` is `.gitignored` by default. See #20299. [Yoong Kang Lim, Sunny Juneja]
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 02fdaf09e0..d2662d61da 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1,3 +1,10 @@
+* Generator a `.keep` file in the `tmp` folder by default as many scripts
+ assume the existence of this folder and most would fail if it is absent.
+
+ See #20299.
+
+ *Yoong Kang Lim*, *Sunny Juneja*
+
* `config.static_index` configures directory `index.html` filename
Set `config.static_index` to serve a static directory index file not named