jlong / serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
http://get-serve.com
Other
836 stars 90 forks source link

H20 - App boot timeout #97

Open regdog opened 11 years ago

regdog commented 11 years ago

Hi everyone,

Has anyone encountered this issue when deployed the serve app to heroku? How to solve this issue?

thanks and regards, regdog

geemus commented 11 years ago

I just saw this for someone else. In their case it was because their config.ru included a first line to default to port 4000. Removing this line should likely fix the issue (as heroku tries to provide a port to bind to the process and then checks for a process there).