aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2018-01-19 01:28:49 +1030
committerMatthew Draper <matthew@trebex.net>2018-01-19 01:28:49 +1030
commitc046143408dac439ce3072ca748f7be60e1c741b (patch)
treedf60e86f224877923261c50ebedbe68cc19ee508 /railties
parent6e74e1d1279713d0e2a523241982c0222bacab97 (diff)
downloadrails-c046143408dac439ce3072ca748f7be60e1c741b.tar.gz
rails-c046143408dac439ce3072ca748f7be60e1c741b.tar.bz2
rails-c046143408dac439ce3072ca748f7be60e1c741b.zip
Revert "Merge pull request #31434 from olivierlacan/boot-feedback"
This reverts commit edc54fd2068bc21f0d381228e55d97e32f508923, reversing changes made to a5922f132f4d163e2c7f770427087f5268c18def. As discussed, this is not an appropriate place to make assumptions about ARGV, or to write to stdout: config/boot.rb is a library and is required by other applictions, with which we have no right to interfere.
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/generators/rails/app/templates/config/boot.rb.tt4
1 files changed, 0 insertions, 4 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/boot.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/boot.rb.tt
index 720d36a2a4..42d46b8175 100644
--- a/railties/lib/rails/generators/rails/app/templates/config/boot.rb.tt
+++ b/railties/lib/rails/generators/rails/app/templates/config/boot.rb.tt
@@ -4,7 +4,3 @@ require 'bundler/setup' # Set up gems listed in the Gemfile.
<% if depend_on_bootsnap? -%>
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
<%- end -%>
-
-if %w[s server c console].any? { |a| ARGV.include?(a) }
- puts "=> Booting Rails"
-end