Project

General

Profile

unable to install periodic tasks

Added by Adrian Wallaschek over 11 years ago

Hi!

I try to add the periodic tasks plugin to my redmine:

NAME=periodictask RAILS_ENV=production bundle exec rake redmine:plugins:migrate

This is not the first plugin I install so before the alike bundle-exec-rake calls somehow worked as documented.
What I get puzzles me:

rake aborted!
no such file to load -- /usr/local/share/config/environment
/var/lib/gems/1.8/gems/railties-3.2.11/lib/rails/engine.rb:425:in `load'
/var/lib/gems/1.8/gems/railties-3.2.11/lib/rails/engine.rb:425:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.11/lib/rails/engine.rb:425:in `each'
/var/lib/gems/1.8/gems/railties-3.2.11/lib/rails/engine.rb:425:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.11/lib/rails/application.rb:145:in `load_tasks'
/var/lib/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `send'
/var/lib/gems/1.8/gems/railties-3.2.11/lib/rails/railtie/configurable.rb:30:in `method_missing'
(See full trace by running task with --trace)

The puzzling part is not that the rake aborted, but the /usr/local/share/config/environment that I would have expected to be /usr/local/share/redmine/config/environment
with the difference that the configs are within the redmine directory and not next to it.

Any clue?

Redmine is 2.1.6 stable. Bundle check says all ok.

How can I further diagnose for a root cause?!?

Thanks in advance!


Replies (1)

    (1-1/1)