-
Notifications
You must be signed in to change notification settings - Fork 436
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
Support for pry? #3
Comments
I'll investigate the feasibility of this. |
If you use pry, you get some stuff for free, such as |
Nice work! ;) 👍 |
+1 |
1 similar comment
+1 |
+21 |
So, you can apparently do:
And it's supposed to work. There's code in |
@rking This is why I haven't enabled it by default yet. If you can open an issue with the error it gives you I'll get that fixed up for you! |
Sure thing! According to my calculations, b_e + pry == bff. Here's the backtrace: https://gist.github.com/raw/b18326ef5b4a2bfede69/962d06bc73b16f38a16f2cfc08ade6d4167619c6/a.rb To reproduce:
Hitting the top URL will give you a prompt, but with a REPL that silently fails and gives backtraces on the terminal like the gist, above. If I can be so greedy, would you accept a Pull Req for a shorter invocation?
Thanks! |
I'd personally like "BetterErrors.configure { |c| c.interpreter = :pry }" On Sunday, February 3, 2013, ☈king wrote:
|
@rstacruz curious, how is it more future proof? |
Well, this is all up to Charlie, but as BetterErrors gets more configurable, the # Sample only
BetterErrors.use_pry!
BetterErrors.set_theme :light
BetterErrors.supress_logs = true |
I had an issue with the current pry gem (0.9.11.4) that's addressed here: pry/pry#845 |
I vote "Closed" on this one. |
I don't know if this is the right place to ask but I don't know where else too 😃 Anyhow, I'm using better_errors with pry and when I inspect vars in REPL I get weird stuff printed out:
What are all this |
These are ANSI color codes. I'm not sure why colors aren't working in the https://github.com/pry/pry/wiki/Customization-and-configuration#wiki-Config_color On Thu, Jun 6, 2013 at 2:37 AM, Miha Rekar [email protected] wrote:
|
It is set to be false on default and it stays there even if I turn it to false 😕 |
@mrfoto do you have |
Hah, yeah, jazz_hands installed it. And as far as I can tell there is no way to disable it, right? |
@mrfoto I've actually run into this issue personally with jazz_hands and Pry. Haven't had the time to look into what's going on though. |
This might not be ideal, but it works for me just fine. Right after
|
Closing this as 1.0.0 will have pretty solid Pry integration. Please open new issues if you find any bugs. |
Would be awesome to have Pry support in the web REPL. Something for reference: https://github.com/mrbrdo/rack-webconsole
The text was updated successfully, but these errors were encountered: