Patch #26139

Follow Gemfile's plugin loader as #24007

Added by Sho HASHIMOTO 7 months ago. Updated 7 months ago.

Status:ReopenedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Plugin API
Target version:-

Description

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

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


Related issues

Related to Redmine - Patch #13927: Reduce coupling between plugins and the "plugins/" directory New
Blocks Redmine - Patch #24007: Change plugins directory through the configuration.yml file Reopened

Associated revisions

Revision 16666
Added by Jean-Philippe Lang 7 months ago

Change plugins directory through the configuration.yml file (#24007, #26139).

Patch by Sho HASHIMOTO

Revision 16669
Added by Jean-Philippe Lang 7 months ago

Reverts r16666 that prevents Redmine to start.

[!] There was an error parsing `Gemfile`: uninitialized constant Bundler::Dsl::R
edmine. Bundler cannot continue.

History

#1 Updated by Go MAEDA 7 months ago

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

#2 Updated by Jean-Philippe Lang 7 months ago

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

Committed, thanks.

#3 Updated by Jean-Philippe Lang 7 months 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.

#4 Updated by Jean-Philippe Lang 7 months ago

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

#5 Updated by Sho HASHIMOTO 7 months ago

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

#6 Updated by Mischa The Evil 7 months ago

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

#7 Updated by Mischa The Evil 7 months ago

  • Category changed from Issues to Plugin API

Also available in: Atom PDF