Project

General

Profile

Ruby on Rails application could not be started

Added by G P over 5 years ago

Hi all,

I have this Problem. How can I fix it.

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:
undefined method `captures' for nil:NilClass

Exception class:
NoMethodError

Application root:
/kunden/191964_89079/webseiten/redmine-2.4.2

Backtrace: # File Line Location
0 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 797 in `load_from_file'
1 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 968 in `each_with_index'
2 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 792 in `each'
3 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 792 in `each_with_index'
4 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 792 in `load_from_file'
5 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 941 in `load_and_parse_mime_types'
6 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 940 in `each'
7 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 940 in `load_and_parse_mime_types'
8 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 958 in `load_mime_types'
9 /kunden/191964_89079/.gem/ruby/1.8/gems/mime-types-1.25.1/lib/mime/types.rb 964
10 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 251 in `require'
11 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 251 in `require'
12 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 236 in `load_dependency'
13 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 251 in `require'
14 /kunden/191964_89079/.gem/ruby/1.8/gems/mail-2.5.4/lib/mail.rb 9
15 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 251 in `require'
16 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 251 in `require'
17 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 236 in `load_dependency'
18 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 251 in `require'
19 /kunden/191964_89079/webseiten/redmine-2.4.2/config/initializers/10-patches.rb 131
20 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 245 in `load'
21 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 245 in `load'
22 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 236 in `load_dependency'
23 /kunden/191964_89079/.gem/ruby/1.8/gems/activesupport-3.2.16/lib/active_support/dependencies.rb 245 in `load'
24 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/engine.rb 593
25 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/engine.rb 592 in `each'
26 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/engine.rb 592
27 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb 30 in `instance_exec'
28 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb 30 in `run'
29 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb 55 in `run_initializers'
30 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb 54 in `each'
31 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/initializable.rb 54 in `run_initializers'
32 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/application.rb 136 in `initialize!'
33 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/railtie/configurable.rb 30 in `send'
34 /kunden/191964_89079/.gem/ruby/1.8/gems/railties-3.2.16/lib/rails/railtie/configurable.rb 30 in `method_missing'
35 /kunden/191964_89079/webseiten/redmine-2.4.2/config/environment.rb 20
36 /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/application_spawner.rb 318 in `require'
37 /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/application_spawner.rb 318 in `preload_application'
38 /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/application_spawner.rb 267 in `initialize_server'
39 /usr/local/appserver/mod_rails/lib/phusion_passenger/utils.rb 323 in `report_app_init_status'
40 /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/application_spawner.rb 246 in `initialize_server'
41 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server.rb 194 in `start_synchronously'
42 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server.rb 163 in `start'
43 /usr/local/appserver/mod_rails/lib/phusion_passenger/railz/application_spawner.rb 222 in `start'
44 /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb 253 in `spawn_rails_application'
45 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server_collection.rb 126 in `lookup_or_add'
46 /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb 247 in `spawn_rails_application'
47 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server_collection.rb 80 in `synchronize'
48 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
49 /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb 246 in `spawn_rails_application'
50 /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb 145 in `spawn_application'
51 /usr/local/appserver/mod_rails/lib/phusion_passenger/spawn_manager.rb 278 in `handle_spawn_application'
52 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server.rb 352 in `__send__'
53 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server.rb 352 in `main_loop'
54 /usr/local/appserver/mod_rails/lib/phusion_passenger/abstract_server.rb 196 in `start_synchronously'
55 /usr/local/appserver/mod_rails/bin/passenger-spawn-server 61