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

Fix undefined method 'irb_at_exit' in new IRB versions #208

Conversation

bergermx
Copy link
Contributor

The development step 'Then console' does not work as intended for IRB >= 1.6.4.

When trying to exit the IRB console with exit you receive the error undefined method `irb_at_exit' for IRB:Module (NoMethodError) and the feature does no progress any further and fails.

IRB removes irb_at_exit as part of release 1.6.4 in a dead code clean up commit.
The method itself hasn't been used since this commit.

My change makes it work with old and new IRB versions.

@FLeinzi FLeinzi self-assigned this Jan 25, 2024
@FLeinzi FLeinzi merged commit f81442a into makandra:master Jan 25, 2024
3 checks passed
@FLeinzi
Copy link
Contributor

FLeinzi commented Jan 25, 2024

Released as 4.6.1

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

Successfully merging this pull request may close these issues.

2 participants