From 1c9e4161bf849a8f3eb9166de46006096cb70817 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dorian=20Mari=C3=A9?= Date: Sat, 23 Apr 2022 13:50:33 +0200 Subject: [PATCH] Instead of forcing a port in Procfile, unset Foremans's PORT Foreman sets the PORT environment variable to 5000 by default See https://github.com/rails/jsbundling-rails/pull/111 --- lib/install/Procfile.dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/Procfile.dev b/lib/install/Procfile.dev index 0c4b735..cb7c9aa 100644 --- a/lib/install/Procfile.dev +++ b/lib/install/Procfile.dev @@ -1,2 +1,2 @@ -web: bin/rails server -p 3000 +web: unset PORT && bin/rails server css: yarn build:css --watch