Included chef cookbook provider not working -


I'm trying to use the gem_specfic_install cookbook so that I SpecificInstall Provider but chef just does not accept it, there is

I have added cookbook 'gem_specific_install', '~> 0.2.4 ' in my berksfile I have added depending on my' metadata .bb '' gem_specific_install ' to include in my code i include_recipe " Gem_specific_install " has been added

Chef errors do not make any difference in the way I use it (as specified)

What do I do Am I

The reason for ps is that I am trying to use it because I need to install event_machine gem from Gitob rep as it is fine that rubygems.com Not .gem on.

To download this specific version, will you have to create a .gem file and host it on our artificial server instead of using locally or specific tools? Edit:

It goes either:

  [2014-10-27 T17: 36: 16 + 00: 00] FATAL: Nomthyier: Undefined for Chef Method `Repository ':: Resource :: GemPackage  

or

  option does not have any string edit  

: Actually, any thing, managed to fix my problem using normal gem_package, I realized what I was doing, yet I want to know that specific_appro Why was not working.

If you want to use the repository attribute, you will see the Gem_specific_install directly to the resource gem_package . I do not think the second form using the option string is a real viable change in the cook.


Comments