Project

General

Profile

Actions

Misc #16444

closed

What is the reason for the warning of IRB?

Added by y-yagi (Yuji Yaginuma) almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Assignee:
-
[ruby-core:96400]

Description

Ruby 2.7 always shows a warning when starting IRB. Why is this necessary?

Of course, ways to suppress the warning have been suggested.
However, libraries that extend IRB, such as rails console and aruba, may not receive arguments equivalent as IRB.
In this case, trying to run as suggested in this proposal(e.g. run rails console with --legacy argument) will result in an error. I think this can be confusing for users.

If have not major known issues, I think we can keep the current behavior without warning. On the other hand, if there is already an issue, isn't the better for the old behavior by default?

Thanks.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0