Skip to content

A platform for community discussion. Free, open, simple.

DEV: Drop 'bundle exec' perf warning (#37922)

David Taylor7ebd231be155
diff --git a/bin/pitchfork b/bin/pitchfork
index 6b7a1498043..1e6bf734fe7 100755
--- a/bin/pitchfork
+++ b/bin/pitchfork
@@ -4,10 +4,6 @@
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath)
-STDERR.puts <<~MESSAGE if defined?(Bundler)
- WARNING: Using `bundle exec` to start the server is unnecessary, and will make startup slower. Use `bin/pitchfork`.
- MESSAGE
-
require "rubygems"
require "bundler/setup"
require "fileutils"
diff --git a/bin/unicorn b/bin/unicorn
index 2a8eb200d83..25b10923604 100755
--- a/bin/unicorn
+++ b/bin/unicorn
@@ -9,10 +9,6 @@ end
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", Pathname.new(__FILE__).realpath)
-STDERR.puts <<~MESSAGE if defined?(Bundler)
- WARNING: Using `bundle exec` to start the server is unnecessary, and will make startup slower. Use `bin/rails s` or `bin/unicorn`.
- MESSAGE
-
require "rubygems"
require "bundler/setup"
require "fileutils"