You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Ruby < 1.9, :config and :pid must be absolute paths because Rack::Server does Dir.chdir "/" before reading the :config and writing the :pid. This was unexpected - is it intended?
The text was updated successfully, but these errors were encountered:
It is considered good practice on *nix based filesystems to chdir to the root so that filesystems can be unmounted as necessary. It is arguable that doing this to most running ruby apps will not have good results as most code out there incorrectly ignores some errnos, however, that portion of the problem is not related to rack. A developer familiar with good daemonization practices should expect this, and indeed it is commonly documented.
In Ruby < 1.9, :config and :pid must be absolute paths because Rack::Server does Dir.chdir "/" before reading the :config and writing the :pid. This was unexpected - is it intended?
The text was updated successfully, but these errors were encountered: