Ruby, Apache, FastCGI / how to debug?


Could anyone kindly help me with the following issue?

I’m running Ruby code with fcgi and Apache. The problem is that the
stderr error logs from my ruby code do not go into the httpd log
(neither ssl_error_log, nor error_log).

System is Fedora 20 64 bit with Ruby 2.1.

I believe it worked until a recent update and do work on my servers, but
not on my dev machine. Almost every Apache setting is at default.

How can I debug error messages from a Ruby code run by FastCGI?

Is there a possibility to redirect STDERR or $stderr withing my app to a
file? Does fcgi catch these redirections of stderr?