diff --git a/lib/roby/app/rake.rb b/lib/roby/app/rake.rb index 33da246af..8628da73a 100644 --- a/lib/roby/app/rake.rb +++ b/lib/roby/app/rake.rb @@ -815,7 +815,8 @@ def self.define_rubocop_if_enabled( end def self.detect_rubocop? - run_rubocop("--version", out: :close) + # Do NOT use out: :close here, it breaks bundler in some ways + run_rubocop("--version", out: "/dev/null") true rescue Errno::ENOENT false