Trouble with email sending settings (probably with Actionmailer)
Added by Pavel Kapustkin almost 15 years ago
Hello,
I have VDS with FreeBSD
Ruby 1.8.7 (2009-04-08 patchlevel 160) [i386-freebsd6]
Rails 2.3.4
Gem version 1.3.5
Ruby-aware -- mod_passenger(mod_Ruby)
Redmine 0.8.6 was installed and works all right in the production mode. After I enter into email.yml my SMTP-server parameters and uncomment
config.frameworks -= [ :action_web_service, :action_mailer ] in the environment.rb the system stops running and I get mod_passenger error page containing the following information:
Error message:
undefined method `render_message' for class `ActionMailer::Base'
0 /home/admina/data/www/tracer/vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb 93
1 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
2 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `require'
3 /home/admina/data/www/tracer/vendor/rails/activesupport/lib/active_support/dependencies.rb 510 in `require'
4 /home/admina/data/www/tracer/vendor/rails/activesupport/lib/active_support/dependencies.rb 355 in `new_constants_in'
5 /home/admina/data/www/tracer/vendor/rails/activesupport/lib/active_support/dependencies.rb 510 in `require'
6 /home/admina/data/www/tracer/vendor/plugins/gloc-1.1.0/init.rb 5 in `evaluate_init_rb'
7 /home/admina/data/www/tracer/vendor/rails/railties/lib/rails/plugin.rb 95 in `evaluate_init_rb'
8 /home/admina/data/www/tracer/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb 11 in `silence_warnings'
9 /home/admina/data/www/tracer/vendor/rails/railties/lib/rails/plugin.rb 91 in `evaluate_init_rb'
10 /home/admina/data/www/tracer/vendor/rails/railties/lib/rails/plugin.rb 44 in `load'
11 /home/admina/data/www/tracer/config/../vendor/plugins/engines/lib/engines/plugin.rb 77 in `load'
12 /home/admina/data/www/tracer/vendor/rails/railties/lib/rails/plugin/loader.rb 33 in `load_plugins'
13 /home/admina/data/www/tracer/vendor/rails/railties/lib/rails/plugin/loader.rb 32 in `each'
14 /home/admina/data/www/tracer/vendor/rails/railties/lib/rails/plugin/loader.rb 32 in `load_plugins'
15 /home/admina/data/www/tracer/vendor/rails/railties/lib/initializer.rb 292 in `load_plugins'
16 /home/admina/data/www/tracer/vendor/rails/railties/lib/initializer.rb 142 in `process'
17 /home/admina/data/www/tracer/vendor/rails/railties/lib/initializer.rb 97 in `send'
18 /home/admina/data/www/tracer/vendor/rails/railties/lib/initializer.rb 97 in `run'
19 /home/admina/data/www/tracer/config/environment.rb 21
20 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `gem_original_require'
21 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb 31 in `require'
22 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 303 in `preload_application'
23 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 252 in `initialize_server'
24 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/utils.rb 254 in `report_app_init_status'
25 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 237 in `initialize_server'
26 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 194 in `start_synchronously'
27 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 163 in `start'
28 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb 213 in `start'
29 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 262 in `spawn_rails_application'
30 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 126 in `lookup_or_add'
31 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 256 in `spawn_rails_application'
32 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 80 in `synchronize'
33 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb 79 in `synchronize'
34 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 255 in `spawn_rails_application'
35 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 154 in `spawn_application'
36 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb 287 in `handle_spawn_application'
37 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 352 in `__send__'
38 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 352 in `main_loop'
39 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb 196 in `start_synchronously'
40 /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server 61
When running the system in the test mode through Webrick the result is quite the same.
Has anybody else encountered such a problem? Are there any possible ways of solving this? Thank you in advance.