forked from translunar/nmatrix
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Dir.exists? removed in Ruby 3.2 #636
Comments
And it's possible to install it by adding it to a Gemfile, with |
I don't think anyone is maintaining this library anymore. I encourage you to fork it if you'd like to! |
Use numo-narray. |
Got the same error; it should just be patched to use |
yk097
added a commit
to yk097/nmatrix
that referenced
this issue
Apr 10, 2024
Dir.exists? was removed in Ruby 3.2.(https://docs.ruby-lang.org/ja/3.0/method/Dir/s/exists=3f.html) Changed to use Dir.exist? Related Issues SciRuby#636
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Extconf uses
Dir.exists?
which was removed in Ruby 3.2 (ruby-lang issue)nmatrix/ext/nmatrix/extconf.rb
Lines 57 to 64 in beb266e
To those running into this problem here's a monkey patch gem file_exists which is really just this alias_method
The text was updated successfully, but these errors were encountered: