ileitch / hijack

Provides an irb session to a running ruby process.
Other
750 stars 22 forks source link

hijack gives a strange issue at times. #12

Closed c4ftabrez closed 12 years ago

c4ftabrez commented 12 years ago

Hi, I get an error about mirror process every time I start hjak. I have to either reinstall the gem or to run the update to make the gem work.

details of the error:

/Users/xxxxxxxx/.rvm/gems/ruby-1.9.2-p290/gems/hijack-0.2.0/lib/hijack/console.rb:52:in mirror_process': undefined method-' for nil:NilClass (NoMethodError) from /Users/shaikhtabrez/.rvm/gems/ruby-1.9.2-p290/gems/hijack-0.2.0/lib/hijack/console.rb:15:in initialize' from /Users/shaikhtabrez/.rvm/gems/ruby-1.9.2-p290/gems/hijack-0.2.0/lib/hijack.rb:18:innew' from /Users/shaikhtabrez/.rvm/gems/ruby-1.9.2-p290/gems/hijack-0.2.0/lib/hijack.rb:18:in start' from /Users/shaikhtabrez/.rvm/gems/ruby-1.9.2-p290/gems/hijack-0.2.0/bin/hijack:27:in<top (required)>' from /Users/shaikhtabrez/.rvm/gems/ruby-1.9.2-p290/bin/hijack:19:in load' from /Users/shaikhtabrez/.rvm/gems/ruby-1.9.2-p290/bin/hijack:19:in

' ~/xxxx>bundle update hijack Fetching gem metadata from http://rubygems.org/.^C

Actually, today it has stopped working with the update too. Las time I did a full uninstall and an update. Any suggestions?

c4ftabrez commented 12 years ago

I am getting this error now: => Hijacking... => Tried 3 times to attach to 58083 whilst GC wasn't running but failed. => This means either the process calls GC.start frequently or GC runs are slow - try hijacking again.

ileitch commented 12 years ago

Please try 0.2.1.

c4ftabrez commented 12 years ago

Thanks ileitch! It works now!