Render deployment stuck (Puma in Build Command)
Context: My deployment got stuck after adding puma
to the Build Command in Render settings. The puma
command starts a long-running server process, but the Build Command expects tasks that finish (like bundle install
, assets:precompile
).
Resolution: I removed puma
from the Build Command and placed it in the dedicated Start Command field in Render's Web Service settings (e.g., bundle exec puma -C config/puma.rb
).
Learning: I learned to distinguish between Build Commands (setup tasks that complete, e.g., installing dependencies, compiling assets) and Start Commands (long-running server processes) in deployment platform configurations like Render.
Learned on: April 14, 2024
Edit