Instantly share code, notes, and snippets.
At least from my experience and set up, this is not a proper way to make pry work under emacs 24.3 and current inf-ruby with MEPLA installation. Since this gist shows up quite high in google search result, I'd like to comment here what was the problem and how I solved it.
(add-to-list 'inf-ruby-implementations '("pry" . "pry"))
(setq inf-ruby-default-implementation "pry")
NameError: uninitialized constant IRB from (pry):1:in
don't add anything which is mentioned above to init.el to make pry work especially if it's installed from MELPA
Instead, set pry as default irb by
Because somebody linked to this today:
The problem with "uninitialized constant IRB" has been fixed more than a year ago: nonsequitur/inf-ruby#64