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.
This commit is contained in:
parent
6e74e1d127
commit
c046143408
@ -5,7 +5,3 @@
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user