Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 1d3f76a

Browse files
committed
Unset RUBYOPT before rubocop'ing to allow gems to be used
1 parent 5490260 commit 1d3f76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/functions.sh

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

181181
function check_style_and_lint {
182182
echo "bin/rubocop lib"
183-
bin/rubocop lib
183+
eval "(unset RUBYOPT; exec bin/rubocop lib)"
184184
}
185185

186186
function run_all_spec_suites {

0 commit comments

Comments
 (0)