rake says "cannot load such file -- source_annotation_extractor" during upgrade 1.4.0 to 2.0.2
I'm trying to upgrade 1.4.0 to 2.0.2
I've updated ruby to 1.9.3, rails to 3.2.5 (using bundle update)
Now trying to call "rake --trace generate_secret_token" when get:
cannot load such file -- source_annotation_extractor
/var/www/redmine/lib/tasks/plugins.rake:1:in `<top (required)>'
/usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.5/lib/rails/engine.rb:425:in `block in load_tasks'
/var/www/redmine/Rakefile:7:in `<top (required)>'
/usr/local/lib/ruby/1.9.1/rake/application.rb:82:in `block in load_rakefile'
/usr/local/lib/ruby/1.9.1/rake/application.rb:65:in `block in run'
It seems to me that rake can't find source_annotation_extractor.rb stored in /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.2.5/lib/rails. How can I solve it? Maybe add something in the Rakefile or in Path? Thanks in advance!
RE: rake says "cannot load such file -- source_annotation_extractor" during upgrade 1.4.0 to 2.0.2 - Added by Александр Закревский about 10 years ago
I disabled require 'source_annotation_extractor' in redmine/lib/tasks/plugin.rake and it went without errors. Redmine 2.0.3 started well, but I do feel something wrong going on with my rails installation! What made rake not see the rb?