Rails is unable to start properly in the production environment

My rails program can run properly in the development environment, but when I deploy it to render.com it gives an error.

According to the logs, I think it is an ffi issue, but I have searched for many solutions and still cannot fix it. I am not sure if this is a problem with the native environment of render.com.

Hi kuocode@gmail.com,

As this is about a specific service we’d request that you login to our dashboard and contact us via the ‘Contact Support’ link at the bottom of our dashboard and make sure you pick the service that this question relates to from your account.

As this is a public forum it’s probably best not to share that directly here,

Regards,

John B