Pass rack the absolute path of server's pid file
When running as a daemon, rack will cd to "/" and paths relative to the
root of the rails app aren't valid when rack is setting up. Because of
this, "rails server -d" was failing silently when trying to write it's
pid file
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
Showing
想要评论请 注册 或 登录