diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2017-12-14 16:49:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-14 16:49:02 -0700 |
commit | edc54fd2068bc21f0d381228e55d97e32f508923 (patch) | |
tree | 877bcf4c63f9569b3cf6d1b5de6434b1682a67dc /activestorage/test | |
parent | a5922f132f4d163e2c7f770427087f5268c18def (diff) | |
parent | acc03bb695d39682c5e7e4b1338ca96ad57d8ec6 (diff) | |
download | rails-edc54fd2068bc21f0d381228e55d97e32f508923.tar.gz rails-edc54fd2068bc21f0d381228e55d97e32f508923.tar.bz2 rails-edc54fd2068bc21f0d381228e55d97e32f508923.zip |
Merge pull request #31434 from olivierlacan/boot-feedback
Provide instant feedback when booting Rails
Diffstat (limited to 'activestorage/test')
-rw-r--r-- | activestorage/test/dummy/config/boot.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/activestorage/test/dummy/config/boot.rb b/activestorage/test/dummy/config/boot.rb index 59459d4ae3..72516d9255 100644 --- a/activestorage/test/dummy/config/boot.rb +++ b/activestorage/test/dummy/config/boot.rb @@ -5,3 +5,7 @@ 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 |