Skip to content

Commit 40437e4

Browse files
committed
Unset RUBYOPT before rubocop'ing to allow gems to be used
1 parent 53e52dd commit 40437e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

travis/script/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function check_documentation_coverage {
177177

178178
function check_style_and_lint {
179179
echo "bin/rubocop lib"
180-
bin/rubocop lib
180+
eval "(unset RUBYOPT; exec bin/rubocop lib)"
181181
}
182182

183183
function run_all_spec_suites {

0 commit comments

Comments
 (0)