We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d9a4a0 commit 7732d2dCopy full SHA for 7732d2d
lib/install/Procfile.dev
@@ -1,2 +1,2 @@
1
-web: unset PORT && env RUBY_DEBUG_OPEN=true bin/rails server
+web: env RUBY_DEBUG_OPEN=true bin/rails server
2
css: yarn build:css --watch
lib/install/dev
@@ -5,4 +5,7 @@ if ! gem list foreman -i --silent; then
5
gem install foreman
6
fi
7
8
+# Default to port 3000 if not specified
9
+export PORT="${PORT:-3000}"
10
+
11
exec foreman start -f Procfile.dev "$@"
0 commit comments