Project

General

Profile

Actions

Patch #26139

open

Follow Gemfile's plugin loader as #24007

Patch #26139: Follow Gemfile's plugin loader as #24007

Added by Sho HASHIMOTO over 9 years ago. Updated over 9 years ago.

Status:
Reopened
Priority:
Normal
Category:
Plugin API
Target version:
-

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 2 (2 open — 0 closed)

Related to Redmine - Patch #13927: Reduce coupling between plugins and the "plugins/" directoryNewJean-Baptiste BarthActions
Blocks Redmine - Patch #24007: Change plugins directory through the configuration.yml fileReopenedActions

Updated by Go MAEDA over 9 years ago Actions #1

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

Updated by Jean-Philippe Lang over 9 years ago Actions #2

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

Committed, thanks.

Updated by Jean-Philippe Lang over 9 years ago Actions #3

  • 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.

Updated by Jean-Philippe Lang over 9 years ago Actions #4

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

Updated by Sho HASHIMOTO over 9 years ago Actions #5

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

Updated by Mischa The Evil over 9 years ago Actions #6

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

Updated by Mischa The Evil over 9 years ago Actions #7

  • Category changed from Issues to Plugin API
Actions

Also available in: PDF Atom