github / github/codeql

Ruby parse error on valid Ruby code

Open
#7,005 1 comment 0 reactions 0 assignees View on GitHub
acknowledged question Ruby
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

Here is an [example failure](https://github.com/ManageIQ/manageiq/runs/4040383046?check_suite_focus=true#step:4:239) and here is the [code that is failing](https://github.com/ManageIQ/manageiq/blob/869444e0f4a817956a20fefea5e8c547e3a264d0/spec/models/git_repository_spec.rb)

```
$ ruby -v
ruby 2.6.6p146 (2020-03-31 revision 67876) [x86_64-darwin19]
$ ruby -c spec/models/git_repository_spec.rb
Syntax OK

$ ruby -v
ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-darwin20]
$ ruby -c spec/models/git_repository_spec.rb
Syntax OK
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.