ruby uuid - no such file or directory error

Hi everyone,

I am trying to deploy a rails application using apache and passenger.
I have also integrated it with Okta for authentication. Though everything seems to be working fine after bypassing the authentication or by using thin/webrick server. I am getting the following error in my error logs if I use apache:

** Errno::ENOENT (No such file or directory @ rb_sysopen -
/nonexistent/.ruby-uuid):**

It stops execution just after reaching saml init function. Does anyone has any idea what might be causing this?

Thanks,
Kriti

Presumably there's more backtrace ? At a guess this looks like some code that assumes that the HOME environment variable is set to somewhere it can write files to but that in production it's set to some dummy value.

Fred

Hi Frederick,

Thanks for the response. It turned out the process did not have permissions on a child folder.

Regards,

Kriti