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

Slightly improve boot time

Christophe Bliard418b344dc4cf
diff --git a/Gemfile b/Gemfile
index 57f1397e302..27b517de5ed 100644
--- a/Gemfile
+++ b/Gemfile
@@ -291,12 +291,12 @@ group :development, :test do
gem 'pry-stack_explorer', '~> 0.6.0'
# ruby linting
- gem 'rubocop'
- gem 'rubocop-rails'
- gem 'rubocop-rspec'
+ gem 'rubocop', require: false
+ gem 'rubocop-rails', require: false
+ gem 'rubocop-rspec', require: false
# git hooks manager
- gem 'lefthook'
+ gem 'lefthook', require: false
# Brakeman scanner
gem 'brakeman', '~> 5.2.0'
diff --git a/spec/lib/rubocop/cop/open_project/use_service_result_factory_methods_spec.rb b/spec/lib/rubocop/cop/open_project/use_service_result_factory_methods_spec.rb
index cb4fe519090..c228a0d33ed 100644
--- a/spec/lib/rubocop/cop/open_project/use_service_result_factory_methods_spec.rb
+++ b/spec/lib/rubocop/cop/open_project/use_service_result_factory_methods_spec.rb
@@ -26,6 +26,7 @@
# See COPYRIGHT and LICENSE files for more details.
#++
+require 'rubocop'
require 'rubocop/rspec/shared_contexts'
require 'spec_helper'
require 'rubocop/rspec/support'