Ruby on Rails application could not be started

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:
No such file or directory - /var/www/vhosts/wmnf/releases/20080521211420/config/database.yml
Exception class:
Errno::ENOENT
Application root:
/var/www/vhosts/wmnf/releases/20080521211420
Backtrace:
# File Line Location
0 /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb 506 in `read'
1 /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb 506 in `database_configuration'
2 /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb 233 in `initialize_database'
3 /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb 94 in `process'
4 /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb 49 in `send'
5 /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb 49 in `run'
6 ./config/environment.rb 17
7 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `gem_original_require'
8 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 27 in `require'
9 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/application_spawner.rb 257 in `preload_application'
10 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/application_spawner.rb 183 in `initialize_server'
11 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/abstract_server.rb 145 in `start_synchronously'
12 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/abstract_server.rb 114 in `start'
13 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/abstract_server.rb 108 in `fork'
14 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/abstract_server.rb 108 in `start'
15 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/application_spawner.rb 147 in `start'
16 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/spawn_manager.rb 106 in `spawn_application'
17 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/spawn_manager.rb 102 in `synchronize'
18 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/spawn_manager.rb 102 in `spawn_application'
19 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/spawn_manager.rb 183 in `handle_spawn_application'
20 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/abstract_server.rb 291 in `__send__'
21 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/abstract_server.rb 291 in `main_loop'
22 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/lib/passenger/abstract_server.rb 147 in `start_synchronously'
23 /usr/local/lib/ruby/gems/1.8/gems/passenger-1.0.4/bin/passenger-spawn-server 32