A small tip: If you happen to get the error “Ruby on Rails application could not be started” after installing Phusion Passenger with Apache and If the page simply says like
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.
and if the Error message or Exception class not giving you any useful hint, then the
Check that the you rails applicaton folder got proper permission to be accessed by apache user.
You can set it by passing the command…
chown -R www-data:www-data /demo
My environment was
Ubuntu 8.10 server
Phusion Passenger – Mod rails