pretty_backtrace icon indicating copy to clipboard operation
pretty_backtrace copied to clipboard

wrong local variable name `#$!' for #<Binding:0x007fde0acae3e8>

Open sardaukar opened this issue 10 years ago • 10 comments

I'm getting this cryptic error when enabling PrettyBacktrace. Is this a Ruby 2.2 issue?

sardaukar avatar Feb 12 '15 15:02 sardaukar

I get this issue as well, also on Ruby MRI 2.2

jhoffner avatar Feb 12 '15 20:02 jhoffner

It is working fine on ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14] for me.

ests avatar Feb 12 '15 20:02 ests

Please try v0.1.2.

Reproducible code and full error message (NameError, in this time) are highly recommended for a bug report because I'm not a wizard.

ko1 avatar Feb 13 '15 01:02 ko1

Well, apparently you are, because even without reproducible code, it's fixed in 0.1.2 :D

sardaukar avatar Feb 13 '15 14:02 sardaukar

I'm getting this error and my version of ruby is: ruby -v ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]

romenigld avatar Nov 02 '15 17:11 romenigld

See https://github.com/ko1/pretty_backtrace/issues/4#issuecomment-74191690

ko1 avatar Nov 02 '15 22:11 ko1

Hello ko1, I'm trying to do a Contact_form with this tutorial: http://www.murdo.ch/posts/build-a-contact-form-with-rails-4-2 And I'm not using this PrettyBacktrace, when I see in my lib folder don't have this files! What i need to do?

romenigld avatar Nov 02 '15 23:11 romenigld

Sorry no idea.

ko1 avatar Nov 02 '15 23:11 ko1

That's ok, thank's ko1!

romenigld avatar Nov 03 '15 10:11 romenigld

Just for post what I fixed for this error: My ContactsController don't have the plural name, then I put the ('s) in the final and was possible to run. I really don't understand why the generator do that automatically.

romenigld avatar Nov 05 '15 11:11 romenigld