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

Also please contact the author of activerecord-import-1.8.1 to request adding ostruct into its gemspec. #860

Closed
hatsu38 opened this issue Nov 9, 2024 · 2 comments

Comments

@hatsu38
Copy link

hatsu38 commented Nov 9, 2024

ostruct.rb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add ostruct to your Gemfile or gemspec to silence this warning.
Also please contact the author of activerecord-import-1.8.1 to request adding ostruct into its gemspec.

Rails: 7.2.2
Ruby: 3.3.5
activerecord-import: 1.8.1

@shaicoleman
Copy link
Contributor

This has been fixed in #853 , but a new version of the gem hasn't been released yet.
In the meanwhile, you can upgrade to Ruby 3.3.6 which removes this warning.
Alternatively, you can wait for the next release or update your Gemfile to point to the master branch

@jkowens
Copy link
Collaborator

jkowens commented Dec 10, 2024

Fixed in v2.0.0

@jkowens jkowens closed this as completed Dec 10, 2024
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

3 participants