Project

General

Profile

Actions

Patch #26139

open

Follow Gemfile's plugin loader as #24007

Added by Sho HASHIMOTO almost 7 years ago. Updated almost 7 years ago.

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

0%

Estimated time:

Description

Plugin's Gemfile can't settable from Redmine::Plugin.directory yet.


Files

follow-24007.patch (376 Bytes) follow-24007.patch Sho HASHIMOTO, 2017-06-12 11:30

Related issues

Related to Redmine - Patch #13927: Reduce coupling between plugins and the "plugins/" directoryNewJean-Baptiste Barth

Actions
Blocks Redmine - Patch #24007: Change plugins directory through the configuration.yml fileReopened

Actions
Actions #1

Updated by Go MAEDA almost 7 years ago

  • Blocks Patch #24007: Change plugins directory through the configuration.yml file added
Actions #2

Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Committed, thanks.

Actions #3

Updated by Jean-Philippe Lang almost 7 years ago

  • Status changed from Closed to Reopened

Patch reverted, Redmine no longer starts: [!] There was an error parsing `Gemfile`: uninitialized constant Bundler::Dsl::R
edmine. Bundler cannot continue.

Actions #4

Updated by Jean-Philippe Lang almost 7 years ago

To support this, Redmine configuration should be loaded before bundler setup and thus, before Rails is loaded.

Actions #5

Updated by Sho HASHIMOTO almost 7 years ago

oh...sorry to attach wrong patch.
hmm...I can see no alternative idea but to parse Redmine configuration on setting plugins directory.

Actions #6

Updated by Mischa The Evil almost 7 years ago

  • Related to Patch #13927: Reduce coupling between plugins and the "plugins/" directory added
Actions #7

Updated by Mischa The Evil almost 7 years ago

  • Category changed from Issues to Plugin API
Actions

Also available in: Atom PDF