aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@gmail.com>2015-03-02 10:39:24 -0500
committerEileen M. Uchitelle <eileencodes@gmail.com>2015-03-02 10:39:24 -0500
commit230393a5bdf10089006b7666fa15cb4543a46486 (patch)
tree1cc1361885ef85fe5f9bbdba1fef633802cf27ea
parent2675a57fc3071c49ba8276c50f29dde3d427bc7f (diff)
parentbeaf8cbad997fa5c05e309eea6ad1ed8f414f385 (diff)
downloadrails-230393a5bdf10089006b7666fa15cb4543a46486.tar.gz
rails-230393a5bdf10089006b7666fa15cb4543a46486.tar.bz2
rails-230393a5bdf10089006b7666fa15cb4543a46486.zip
Merge pull request #19169 from hjoo/rake_restart
Rake restart task no longer loads entire Rails environment when run
-rw-r--r--railties/lib/rails/tasks/restart.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/tasks/restart.rake b/railties/lib/rails/tasks/restart.rake
index 1af0302824..1e8940b675 100644
--- a/railties/lib/rails/tasks/restart.rake
+++ b/railties/lib/rails/tasks/restart.rake
@@ -1,4 +1,4 @@
desc "Restart app by touching tmp/restart.txt"
-task restart: :environment do
+task :restart do
FileUtils.touch('tmp/restart.txt')
end