-
Notifications
You must be signed in to change notification settings - Fork 70
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
REXML is no longer pure ruby #140
Comments
strscan is a default gem. It means that all Rubies have strscan without installing strscan separately. strscan is implemented in C like other built-in feature such as But some Rubies may have strscan < 3.0.9. It may require installing newer strscan. |
This does solve the problem when using gem install. |
You can specify strscan version you want to use in your |
Do we need the
Note that Bundler seems to no longer support using default gems anymore in recent Bundler versions. A declared dependency will always be installed fresh from source. Ruby 3.3.5 released today with those Bundler changes which is why I'm noticing now. |
Yes. For example, we may use
Oh... I didn't notice it. |
Sure! Just wanted to check here first. Opened #204. |
`strscan` is a part of the Ruby standard library in all versions of Ruby supported by REXML. So we don't need to declare it as a dependency explicitly. See also: #140 (comment)
This is a deliberate duplicate of #131, which appears to be mired in some unrelated discussion.
We use REXML because it is pure ruby and thus can be installed in environments that are limited in their native compilation support.
By requiring strscan, REXML no longer is pure Ruby.
REXML now is no longer useful for these environments.
I have pinned to <=3.2.6, but of course I'd like to have security fixes going forward.
The text was updated successfully, but these errors were encountered: