18592: Exception in DebugThread loop: Bad file descriptor(Errno::EBADF) Backtrace:
/Users/tball/.rvm/gems/ruby-2.1.1@chef/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide/interface.rb:30:in `close'
from: /Users/tball/.rvm/gems/ruby-2.1.1@chef/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide/interface.rb:30:in `close'
from: /Users/tball/.rvm/gems/ruby-2.1.1@chef/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide/ide_processor.rb:105:in `process_commands'
from: /Users/tball/.rvm/gems/ruby-2.1.1@chef/gems/ruby-debug-ide-0.4.23.beta1/lib/ruby-debug-ide.rb:124:in `block in start_control'
I'm trying to debug the chef-client project. Most of the time I try debugging, my code blows up at https://github.com/opscode/chef/blob/master/spec/spec_helper.rb#L92. Basically, Ohai is trying to shell-out to the system to collect information. The shell out command fails with the above exception on stderr. When I run it without the debugger, I never see this failure.
I'm running OSX 10.9.4 and Ruby 2.1.1 via RVM.
I reproduce by:
Check out the chef-client project and bundle install it
Got another one of these!
I'm trying to debug the chef-client project. Most of the time I try debugging, my code blows up at https://github.com/opscode/chef/blob/master/spec/spec_helper.rb#L92. Basically, Ohai is trying to shell-out to the system to collect information. The shell out command fails with the above exception on stderr. When I run it without the debugger, I never see this failure.
I'm running OSX 10.9.4 and Ruby 2.1.1 via RVM.
I reproduce by:
bundle install
itm
object - in the@stderr
instance variable you can see the above exception