Passenger error when application is online

My application is working fine, but when I did a push for server, I get the passenger error

These are the possible causes:

  • There may be a syntax error in the application’s code. Please check for such errors and fix them.

  • A required library may not installed. Please install all libraries that this application requires.

  • The application may not be properly configured. Please check whether all configuration files are written correctly, fix any incorrect configurations, and restart this application.

  • A service that the application relies on (such as the database server or the Ferret search engine server) may not have been started. Please start that service.

Further information about the error may have been written to the application’s log file. Please check it in order to analyse the problem. Error message: uninitialized constant Users Exception class: NameError

But I’m not getting this error on my local machine

What would be?

Did you check the log files as suggested (log/production.log assuming in production mode)?