Content
Gemfiles.plugins syntax
Added by Tamas Csabina over 10 years ago
Hi,
These are my first steps to configure OP 3.0.
I’ve followed the guide to install it on Debian (https://www.openproject.org/projects/openproject/wiki/Debian_Stable_with_MySQL_in_production).
This guide says that the Gemfiles.plugins should contain this:
@
gem “pdf-inspector”, “~>1.0.0”, :group => :test
gem “openproject-meeting”, :git => “https://github.com/finnlabs/openproject-meeting.git”, :branch => “dev”
gem “openproject-pdf_export”, git: “https://github.com/finnlabs/openproject-pdf_export.git”, :branch => “dev”
gem “openproject-plugins”, git: “https://github.com/opf/openproject-plugins.git”, :branch => “dev”
gem “openproject-backlogs”, git: “https://github.com/finnlabs/openproject-backlogs.git”, :branch => “dev”
@
I am trying to install Global Roles.
The Readme.MD on the Global Roles site says, that I have to add the following to the Gemfiles.plugins:
gem "openproject-global_roles"
The Add-Plugin part of the 3.0 install guide says the Gemfiles.plugins should contain
gem "openproject-help_link", :git => "https://github.com/finnlabs/openproject-help_link.git", :branch => "3-0-3"
So I am confused what is the correct syntax of a line in the Gemfiles.plugins file. Could someone help me out?
Thanks,
tamas
Replies (4)
Hi Tamas,
the problem is that some OpenProject plug-ins are available on rubygems.org (like OpenProject Global Roles) and some or not (like OpenProject Help Link). So, just follow the instructions (add the entries to
Gemfile.plugin
and don’t forget to callbundle
afterwards.Kind regards,
Hagen
Hi Hagen,
Ok, I see.
Some extra description in the Add-Plugin chapter would come handy IMHO…
Anyway, I’ve added
gem "openproject-global_roles", git: "https://github.com/finnlabs/openproject-global_roles", :branch => "dev"
, and now it is working.Thanks,
tamas
Hi Tamas,
thanks for the heads up: I added a link to plug-in page in each how-to. I hope that improves that situation.
Kind regards,
Hagen
Hi Hagen,
Perfect!
I hope this will help someone out…
Regards,
tamas