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

Unable to install rbs on JRuby #2067

Open
mrckzgl opened this issue Oct 23, 2024 · 2 comments
Open

Unable to install rbs on JRuby #2067

mrckzgl opened this issue Oct 23, 2024 · 2 comments

Comments

@mrckzgl
Copy link

mrckzgl commented Oct 23, 2024

It seems rbs is trying to make a native extension on JRuby which is not supported.
For complete log output, see Shopify/ruby-lsp#2292
That results in rbs not being able to be installed in a JRuby environment, gem install rbs will fail in such.

@headius
Copy link

headius commented Oct 23, 2024

FWIW we (JRuby) very much want to support rbs and I'm sure it is possible to do so. We just don't have a lot of dev resources right now.

@headius
Copy link

headius commented Nov 18, 2024

The piece in the extension is the C-based parser, which replaced the old racc-based pure-Ruby parser in #788.

While the extension could possibly be ported to Java, it's quite a lot of work. It might be faster to revive the racc parser and try to update it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants