I am running Ruby 1.93 and Pry works from the command line. The deprecated IRB repl works fine
I am running ruby with .rbenv and I added :
I also tried:
When I try to start the repl I get this error message and the repl closes:
/Users/tmb/Library/Application Support/Sublime Text 3/Packages/SublimeREPL/config/Ruby/pry_repl.rb:37:in `<main>': undefined method `build_completion_proc' for Pry::InputCompleter:Module (NoMethodError)
same here. But I got
/Packages/SublimeREPL/config/Ruby/pry_repl.rb:37:in `<main>': uninitialized constant Pry::InputCompleter (NameError)
@tbrooke I solved this by downgrade the pry to 0.9.12.6
@hardywu downgrade to pry 0.9.12.6 and pry-byebug 1.3.2 worked for me! thanks.
@dnlR It worked by downgrading pry to 0.9.12 and pry-bybug 1.3.2.
Also after some investigation on the pry source code, this issue is caused of the rewrite of Pry::InputCompleter from Module to Class. I tried to modify the rails rpel config file but not get it worked. For now, best choice is lock the pry to 0.9.12. Hope this helpful to somebody.
I've made a fix for this issue at #372. It works (for me) under Pry 0.10.0.
Yes, downgrading to pry 0.9.12 works perfectly. Now I can run REPL in ST3 via the SublimeREPL plugin.
@smiler Great fix. Works for me too! Thanks.
Works like charm!
Using ST3 Build 3095 on OS X 10.10.5 and a newly-installed Ruby 2.2.4 (built from source). pry 0.10.0 still gave me the error, but 0.9.12 works fine. After updating pry_repl.rb as per #372, 0.10.3 now seems to work (at least, the REPL starts up fine). I haven't put it through its paces yet, though.
works if you're using RVM: $ gem uninstall pry; gem i pry --version 0.9.12
But not a great solution.
$ gem uninstall pry; gem i pry --version 0.9.12
@D3MZ did you try updating Packages/SublimeREPL/config/Ruby/pry_repl.rb as per #372?