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

csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0 #797

Closed
diei opened this issue Mar 7, 2024 · 7 comments

Comments

@diei
Copy link

diei commented Mar 7, 2024

After update to Ruby 3.3.0 I get following information:

~/.rvm/gems/ruby-3.3.0/gems/httparty-0.21.0/lib/httparty.rb:10: warning: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add csv to your Gemfile or gemspec. Also contact author of httparty-0.21.0 to add csv into its gemspec.

@wmanica
Copy link

wmanica commented Mar 28, 2024

Here for the same reason. Other gems have resolved adding the gems to the gemspec, in this case csv.

here an example: https://github.com/thinreports/thinreports-generator/pull/134/files

@mishina2228
Copy link
Contributor

#796 has already been merged, so all that remains is for the new version to be released.

@jnunemaker
Copy link
Owner

Whoops! I thought I released new version. Looks like I forgot. I'll do that now.

@jnunemaker
Copy link
Owner

0.22 is out.

@krystof-k
Copy link

krystof-k commented May 10, 2024

Just an observation regarding this: this possibly breaks using the existing default gem without require "csv" for everyone with this gem in dependencies (uninitialized constant SomeClass::CSV) – I guess in Rails only.

@wJoenn
Copy link

wJoenn commented Jun 3, 2024

@krystof-k can you explain how come Rails is not requiring the "csv" gem that is now in our Gemfile like it does with any other gem ? 🤔

@krystof-k
Copy link

@wJoenn I have no idea. Rails 🪄🎩.

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

6 participants