stefan-langenmaier/redmine_permits — Issue #1: Hi. Cannot install the plugin.
Author: gruz
Created: 2012-03-04 15:14:16+00:00
State: open

Hi. I use redmine 1.3.1
I follow this instructions: http://www.redmine.org/projects/redmine/wiki/Plugins

So I when I run migrate I get errors.
...
# rake db:migrate_plugins RAILS_ENV=production
rake aborted!
uninitialized constant Rails::Plugin::Dispatcher

Tasks: TOP => db:migrate_plugins => environment
(See full trace by running task with --trace)
....

As a result redmine doesn't start at all:

...
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 Rails::Plugin::Dispatcher
Exception class:
NameError
Application root:
/www/support
Backtrace:#	File	Line	Location
0	/var/www/vhosts/gruz.org.ua/support/vendor/rails/activesupport/lib/active_support/dependencies.rb	131	in `const_missing'
1	/var/www/vhosts/gruz.org.ua/support/vendor/plugins/redmine_permits/init.rb	3	in `evaluate_init_rb'
2	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/rails/plugin.rb	158	in `evaluate_init_rb'
3	/var/www/vhosts/gruz.org.ua/support/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb	11	in `silence_warnings'
4	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/rails/plugin.rb	154	in `evaluate_init_rb'
5	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/rails/plugin.rb	48	in `load'
6	/var/www/vhosts/gruz.org.ua/support/config/../vendor/plugins/engines/lib/engines/plugin.rb	44	in `load'
7	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/rails/plugin/loader.rb	38	in `load_plugins'
8	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/rails/plugin/loader.rb	37	in `each'
9	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/rails/plugin/loader.rb	37	in `load_plugins'
10	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/initializer.rb	369	in `load_plugins'
11	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/initializer.rb	165	in `process'
12	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/initializer.rb	113	in `send'
13	/var/www/vhosts/gruz.org.ua/support/vendor/rails/railties/lib/initializer.rb	113	in `run'
14	/var/www/vhosts/gruz.org.ua/support/config/environment.rb	24
15	/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb	29	in `gem_original_require'
16	/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb	29	in `require'
17	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/classic_rails/application_spawner.rb	222	in `preload_application'
18	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/classic_rails/application_spawner.rb	181	in `initialize_server'
19	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/utils.rb	572	in `report_app_init_status'
20	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/classic_rails/application_spawner.rb	174	in `initialize_server'
21	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb	204	in `start_synchronously'
22	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb	180	in `start'
23	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/classic_rails/application_spawner.rb	149	in `start'
24	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb	219	in `spawn_rails_application'
25	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb	132	in `lookup_or_add'
26	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb	214	in `spawn_rails_application'
27	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb	82	in `synchronize'
28	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server_collection.rb	79	in `synchronize'
29	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb	213	in `spawn_rails_application'
30	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb	132	in `spawn_application'
31	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb	275	in `handle_spawn_application'
32	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb	357	in `__send__'
33	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb	357	in `server_main_loop'
34	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb	206	in `start_synchronously'
35	/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.11/helper-scripts/passenger-spawn-server	99
...

I don't know, if the issue is because if the versions incompatiblity, or because something is missing in my installation. Please, help me. Thank.