Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

replace deprecated bundler command

ulfertsea7f52b54181
diff --git a/lib/open_project/plugins/acts_as_op_engine.rb b/lib/open_project/plugins/acts_as_op_engine.rb
index ae3f22d22fa..bd19531c80f 100644
--- a/lib/open_project/plugins/acts_as_op_engine.rb
+++ b/lib/open_project/plugins/acts_as_op_engine.rb
@@ -179,7 +179,7 @@ module OpenProject::Plugins
# block: Pass a block to the plugin (for defining permissions, menu items and the like)
def register(gem_name, options, &block)
self.class.initializer "#{engine_name}.register_plugin" do
- spec = Bundler.environment.specs[gem_name][0]
+ spec = Bundler.load.specs[gem_name][0]
p = Redmine::Plugin.register engine_name.to_sym do
name spec.summary