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

Gem matrix needed for Ruby version > 3.0 #25

Closed
jfanals opened this issue Sep 28, 2022 · 2 comments
Closed

Gem matrix needed for Ruby version > 3.0 #25

jfanals opened this issue Sep 28, 2022 · 2 comments

Comments

@jfanals
Copy link

jfanals commented Sep 28, 2022

I was getting this error when trying to load Rails 7 and Ruby 3.1.2

 `require': cannot load such file -- matrix (LoadError)

As of Ruby 3.1.0 the matrix default gem are now bundled gems.
https://stackoverflow.com/questions/71991514/rails-require-cannot-load-such-file-matrix
https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/

Adding the matrix gem to the Gemfile solved the issue.

 gem 'matrix'
@ankane ankane closed this as completed in be79109 Sep 28, 2022
@ankane
Copy link
Owner

ankane commented Sep 28, 2022

Hey @jfanals, thanks for reporting! Fixed in the commit above (not sure why I only thought it was needed for Daru). Will push a new release shortly.

@jfanals
Copy link
Author

jfanals commented Sep 28, 2022

That was fast!

Thank you for your amazing gems :)

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

No branches or pull requests

2 participants