Project

General

Profile

Actions

Defect #10816

closed

Rails 3: Redmine doesn't load plugins tasks

Added by John Yani over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Plugin API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When plugins were in /vendor/plugins and you ran rake, it looked to "./Rakefile" to loaded rake tasks.
Rakefile contained a line require 'tasks/rails'
And this line loaded all the rake tasks in /vendor/plugins/*/**/tasks/ directories:
http://stackoverflow.com/questions/417179/how-does-ruby-know-where-to-find-a-required-file

Now, nobody loads plugins tasks. When plugins were in /vendor/plugins things were so much easier. Why do you think that just changing plugins directory will help plugin maintainers to upgrade their plugins?

Actions

Also available in: Atom PDF