From c046143408dac439ce3072ca748f7be60e1c741b Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Fri, 19 Jan 2018 01:28:49 +1030 Subject: 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. --- activestorage/test/dummy/config/boot.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activestorage/test/dummy') diff --git a/activestorage/test/dummy/config/boot.rb b/activestorage/test/dummy/config/boot.rb index 72516d9255..59459d4ae3 100644 --- a/activestorage/test/dummy/config/boot.rb +++ b/activestorage/test/dummy/config/boot.rb @@ -5,7 +5,3 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../../Gemfile", __dir__) require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) $LOAD_PATH.unshift File.expand_path("../../../lib", __dir__) - -if %w[s server c console].any? { |a| ARGV.include?(a) } - puts "=> Booting Rails" -end -- cgit v1.2.3