-
Notifications
You must be signed in to change notification settings - Fork 21.7k
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
Remove json gem dependency #23453
Remove json gem dependency #23453
Conversation
All modern Rubies ship JSON as part of stdlib. Using the gem actually hurts multi-platform support due to build difficulties on Windows.
Remove json gem dependency
All Ruby versions >= 1.9.3 include the JSON gem in the standard library, so this requirement is redundant. See rails/rails#23453 Also: Ruby 2.4 will be bundled with a ~> 2.0 version of JSON for compatibility with the unification of Fixnum and Bignum into Integer.
@mperham I know this is a little late, but this change actually led to some very undesirable behavior which I describe here: rubygems/bundler#5419 Could you explain what you mean by:
Given the issue I describe in the ticket linked above--that you could end up with a different version of json in test then in production--are these build difficulties a reasonable trade-off? |
All modern Rubies ship JSON as part of stdlib. Using the gem actually hurts multi-platform support due to build difficulties on Windows.