DEV: remove foreman gem and unsupported Procfile

DEV: remove foreman gem and unsupported Procfile

Launching Discourse no longer should require foreman in dev. We can simply use bin/unicorn which automatically launches a sidekiq worker.

The foreman gem depends on thor ~> 0.19.1 which is no longer supported in rails 6. So this pre-emptively prepares us for it.

diff --git a/Gemfile b/Gemfile
index 345d8e7..65e5c22 100644
--- a/Gemfile
+++ b/Gemfile
@@ -143,7 +143,6 @@ group :development do
   gem 'better_errors'
   gem 'binding_of_caller'
   gem 'annotate'
-  gem 'foreman', require: false
 end
 
 # this is an optional gem, it provides a high performance replacement
diff --git a/Gemfile.lock b/Gemfile.lock
index b59803a..95beb14 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -144,8 +144,6 @@ GEM
     fastimage (2.1.3)
     ffi (1.9.25)
     flamegraph (0.9.5)
-    foreman (0.85.0)
-      thor (~> 0.19.1)
     fspath (3.1.0)
     gc_tracer (1.5.1)
     git (1.5.0)
@@ -478,7 +476,6 @@ DEPENDENCIES
   fast_xs
   fastimage
   flamegraph
-  foreman
   gc_tracer
   highline (~> 1.7.0)
   hiredis
diff --git a/Procfile b/Procfile
deleted file mode 100644
index 4d752a6..0000000
--- a/Procfile
+++ /dev/null
@@ -1,2 +0,0 @@
-web: bundle exec rails server -p $PORT
-worker: bundle exec sidekiq -e $RAILS_ENV
\ No newline at end of file

GitHub sha: 377f3efb