Forum: Ruby-core [Backport93 - Backport #7869][Open] Revert JSON version bump, since it posibly breaks Ruby backward

Posted by Vít Ondruch (vo_x)
on 2013-02-17 00:28
(Received via mailing list)
Issue #7869 has been reported by vo.x (Vit Ondruch).

----------------------------------------
Backport #7869: Revert JSON version bump, since it posibly breaks Ruby 
backward compatibility
https://bugs.ruby-lang.org/issues/7869

Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Although reverting version bump means that Ruby's JSON will differs from 
RubyGems version of JSON, it prevents possible compatibility issues for 
every project, which might use Bundler to specify its dependencies. 
Although for regular user, this incompatibility might be fixed by simple 
'bundle update' command, it is not doable for Linux distributions, which 
provides packaged Ruby, including JSON gem, but are not responsible for 
every Ruby project on the system.

See ruby-core:52254 for more discussion.

Thank you.
Posted by usa (Usaku NAKAMURA) (Guest)
on 2013-02-22 07:08
(Received via mailing list)
Issue #7869 has been updated by usa (Usaku NAKAMURA).


I've read the discussion from [ruby-core:52254], and I may understand 
your
 opinion.
But my conclusion is:
  You should do "bundle install" after updating ruby, because bundler 
says so.

I cannot understand the situation where you can update ruby but cannot 
perform bundle install (or update).

Therefore, I continue the principle of "changing the version of bundled 
gem, if it is updated."
But this subject is still open.
Please show your opinions on this ticket, guys and dolls.
----------------------------------------
Backport #7869: Revert JSON version bump, since it posibly breaks Ruby 
backward compatibility
https://bugs.ruby-lang.org/issues/7869#change-36776

Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Although reverting version bump means that Ruby's JSON will differs from 
RubyGems version of JSON, it prevents possible compatibility issues for 
every project, which might use Bundler to specify its dependencies. 
Although for regular user, this incompatibility might be fixed by simple 
'bundle update' command, it is not doable for Linux distributions, which 
provides packaged Ruby, including JSON gem, but are not responsible for 
every Ruby project on the system.

See ruby-core:52254 for more discussion.

Thank you.
Posted by Vít Ondruch (vo_x)
on 2013-02-22 08:05
(Received via mailing list)
Issue #7869 has been updated by vo.x (Vit Ondruch).


I am speaking from Fedoras, RHEL's Ruby packager point of view. So Ruby 
updates are my responsibility and we do care to provide latest Ruby. On 
the other hand, I have no idea what application our users run with the 
Ruby I provide. There is no way how to run "bundle install" since I 
don't know if my users are using Bundler or where they applications are 
located.
----------------------------------------
Backport #7869: Revert JSON version bump, since it posibly breaks Ruby 
backward compatibility
https://bugs.ruby-lang.org/issues/7869#change-36778

Author: vo.x (Vit Ondruch)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:


Although reverting version bump means that Ruby's JSON will differs from 
RubyGems version of JSON, it prevents possible compatibility issues for 
every project, which might use Bundler to specify its dependencies. 
Although for regular user, this incompatibility might be fixed by simple 
'bundle update' command, it is not doable for Linux distributions, which 
provides packaged Ruby, including JSON gem, but are not responsible for 
every Ruby project on the system.

See ruby-core:52254 for more discussion.

Thank you.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.