Skip to content

Fix for 192 - #2

Open
jackdempsey wants to merge 1 commit into
gilesbowkett:masterfrom
jackdempsey:fix_for_192
Open

Fix for 192#2
jackdempsey wants to merge 1 commit into
gilesbowkett:masterfrom
jackdempsey:fix_for_192

Conversation

@jackdempsey

Copy link
Copy Markdown

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

witjoh commented Feb 22, 2017

Copy link
Copy Markdown

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