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
Since about 10 years, rackis already daemonizing the process (using Process.daemon) when options[:daemonize] is set (e.g. when the -d flag is set in rails server), just before callingRack::Handler::Unicorn.run (which unicorn-rails implements). Ruby's core Process.daemonchanges the working directory to root ("/"). This is why this line will never find the configuration file:
Since about 10 years,
rack
is already daemonizing the process (usingProcess.daemon
) whenoptions[:daemonize]
is set (e.g. when the-d
flag is set inrails server
), just before callingRack::Handler::Unicorn.run
(whichunicorn-rails
implements). Ruby's coreProcess.daemon
changes the working directory to root ("/"). This is why this line will never find the configuration file:unicorn-rails/lib/unicorn_rails.rb
Line 19 in cb99f63
The text was updated successfully, but these errors were encountered: