Redmine don't start (undefined method 'autoload_paths=' for...)
OS: Ubuntu 10.10
I install ruby, rails, some gems, redmine.
Create site for redmine (with fcgi interface)
and when try to start it, i get Error 500.
In log I have information:
[Fri Mar 25 17:51:49 2011] [notice] Apache/2.2.16 (Ubuntu) mod_fcgid/2.3.5 PHP/5.3.3-1ubuntu9.3 with Suhosin-Patch configured -- resuming normal operations
/var/lib/gems/1.8/gems/rails-2.3.11/lib/initializer.rb:249:in `set_autoload_paths': undefined method `autoload_paths=' for ActiveSupport::Dependencies:Module (NoMethodError)
from /var/lib/gems/1.8/gems/rails-2.3.11/lib/initializer.rb:135:in `process'
from /var/lib/gems/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in `send'
from /var/lib/gems/1.8/gems/rails-2.3.11/lib/initializer.rb:113:in `run'
from /var/www/projects.activestudio.ru/dispatch.fcgi:21:in `require'
Can anybody help me?
RE: Redmine don't start (undefined method 'autoload_paths=' for...) - Added by Petr Losa over 9 years ago
I have a same problem. How you fix this ? After install tmail I get a same error.
RE: Redmine don't start (undefined method 'autoload_paths=' for...) - Added by Alexandr Kohskin over 9 years ago
I think - there are two needfull steps
1. Remove all addition gems, leave only:
2. Add TMail gem, version 18.104.22.168
3. Replace config.autoload_paths= with config.load_paths= in you file config/environment.rb, that should do the trick, but you should have no such line with redmine 1.1.2.
I do it in march, may be now some soft are upgraded, but I leave it: "Dont't touch, it's working":)))
RE: Redmine don't start (undefined method 'autoload_paths=' for...) - Added by Alex A over 9 years ago
U must delete redmine/vendor/~rails