From 377f3efb60e2e3675ee8b8bcdf539296190a0593 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 4 Feb 2019 15:05:54 +1100 Subject: [PATCH] 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. --- Gemfile | 1 - Gemfile.lock | 3 --- Procfile | 2 -- 3 files changed, 6 deletions(-) delete mode 100644 Procfile diff --git a/Gemfile b/Gemfile index 345d8e7d82b..65e5c2294f5 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 b59803ab6ac..95beb142f04 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 4d752a6c18c..00000000000 --- 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