[chef] binding.pry kicking in at compile time rather than runtime


Chronological Thread 
  • From: Alex Myasnikov < >
  • To: " " < >
  • Subject: [chef] binding.pry kicking in at compile time rather than runtime
  • Date: Thu, 21 May 2015 02:50:29 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;

Ohai Chefs,

 

I am running into an issue trying to debug a recipe with pry where the breakpoint binding.pry is kicking in at compile time, rather than at runtime

 

Compiling Cookbooks...

 

From: /var/chef/cache/cookbooks/<COOKBOOKNAME>/attributes/default.rb @ line 7 Chef::Mixin::FromFile#from_file:

 

     3:

     4:

     5: require 'pry'

     6:

=>  7: binding.pry

 

Chef-client 11.18.12, pry gem is what comes with the omnibus install.

 

I’ve searched but haven’t found anything discerning compile vs. runtime invocation. I feel like I’m missing something simple, any help is greatly appreciated.

 

Thank you



The contents of this message, together with any attachments, are intended only for the use of the individual or entity to which they are addressed and may contain information that is legally privileged, confidential and exempt from disclosure. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please notify the original sender or contact Practice Fusion at 415.346.7700 ext 4 immediately by telephone or by return E-mail and delete this message, along with any attachments, from your computer. Thank you



Archive powered by MHonArc 2.6.16.

§