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 for 192 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jackdempsey
Copy link

hey Giles,

It looks like ruby 1.9 passes a context object to the lambda in IRB.conf[:IRB_RC] and given it didn't accept any args, boom goes the dynamite.

So, simple patch to accept it and not do shit with it. Seems to work in 1.9.1 and 1.9.2 while not breaking 1.8.7.

jack

@witjoh
Copy link

witjoh commented Feb 22, 2017

works also on ruby 2.0.0p648 (2015-12-16) [x86_64-linux]

@witjoh witjoh mentioned this pull request Feb 22, 2017
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.

4 participants