[chef] Re: Re: Re: FATAL: ArgumentError: wrong number of arguments (0 for 1)


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: FATAL: ArgumentError: wrong number of arguments (0 for 1)
  • Date: Tue, 27 Mar 2012 21:59:16 -0700



On Tuesday, March 27, 2012 at 9:37 PM, David Montgomery wrote:

> What does the require do? Is that the issue? I will take it out of
> that solved the problem.

Kernel.require loads new code. It's a method that requires an argument. BTW, 
methods on Kernel are defined for everything in ruby, unless code 
specifically overrides them or removes them.
 
http://railsapi.com/doc/ruby-v1.8/classes/Kernel.html#M001185

You might also find this to be helpful:
http://railsapi.com/doc/ruby-v1.8/


-- 
Dan DeLeo 




Archive powered by MHonArc 2.6.16.

§