We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3041a5b + 313f257 commit 73ace31Copy full SHA for 73ace31
lib/install/Procfile.dev
@@ -1,2 +1,2 @@
1
-web: env RUBY_DEBUG_OPEN=true bin/rails server -p 3000
+web: bin/rails server
2
css: bin/rails tailwindcss:watch
lib/install/dev
@@ -5,4 +5,12 @@ 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
+# Let the debug gem allow remote connections,
12
+# but avoid loading until `debugger` is called
13
+export RUBY_DEBUG_OPEN="true"
14
+export RUBY_DEBUG_LAZY="true"
15
16
exec foreman start -f Procfile.dev "$@"
0 commit comments