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

Do not use private `Bundler.gem` method

Klaus Zandersf7003044537a
diff --git a/lib/tasks/parallel_testing.rake b/lib/tasks/parallel_testing.rake
index f78856e7077..a7a2c66a54e 100644
--- a/lib/tasks/parallel_testing.rake
+++ b/lib/tasks/parallel_testing.rake
@@ -29,8 +29,8 @@
require "optparse"
begin
- Bundler.gem("parallel_tests")
-rescue Gem::LoadError
+ require "parallel_tests"
+rescue LoadError
# In case parallel_tests is not provided, the whole of the parallel task group will not work.
return
end