mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Revert "Merge pull request #31434 from olivierlacan/boot-feedback"
This reverts commitedc54fd206
, reversing changes made toa5922f132f
. 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
2 changed files with 0 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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 a new issue