Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embed racc parser #132

Merged
merged 3 commits into from
Oct 17, 2023
Merged

Embed racc parser #132

merged 3 commits into from
Oct 17, 2023

Conversation

yui-knk
Copy link
Collaborator

@yui-knk yui-knk commented Oct 17, 2023

Racc gem will be bundled gem from ruby 3.3. In a build process
of ruby, BASERUBY is called with --disable=gems. Therefore make
is failed with LoadError like below.
To avoid the error, embed racc/parser.rb into lib/lrama/new_parser.rb.

tool/lrama/lib/lrama/new_parser.rb:7:in `require': cannot load such file -- racc/parser.rb (LoadError)

Example of failure is https://github.com/yui-knk/lrama/actions/runs/6546805503/job/17778015987.

Racc gem will be bundled gem from ruby 3.3. In a build process
of ruby, BASERUBY is called with `--disable=gems`. Therefore `make`
is failed with `LoadError` like below.
To avoid the error, embed racc/parser.rb into lib/lrama/new_parser.rb.

```
tool/lrama/lib/lrama/new_parser.rb:7:in `require': cannot load such file -- racc/parser.rb (LoadError)
```
@yui-knk yui-knk merged commit 87208da into ruby:master Oct 17, 2023
14 checks passed
@yui-knk yui-knk deleted the embed_racc_parser branch October 17, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant