From 326ab8e098d453ff90157c002d975f6cd8578ad8 Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Wed, 20 Jun 2018 14:25:49 -0300 Subject: [PATCH] Temporary fix for rubocop during CI builds --- .rubocop.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index 84e396f..cc0e049 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -7,6 +7,12 @@ AllCops: DisabledByDefault: true Exclude: - "examples/instrumentation.rb" + # Remove the following line once we are able to make bundler install gems to /vendor/bundle instead + # of /gemfiles/vendor/bundle during TravisCI builds. The reason that happens for now is because + # bundler 1.x only installs relative to the Gemfile (which during CI builds is always one inside gemfiles/ folder) + # instead of the CWD. Bundler 2.x will add support to install relative to CWD + # (see https://github.com/bundler/bundler/pull/5803). + - "gemfiles/vendor/**/*" Bundler: Enabled: true