rubychef-infrachef-recipechef-zero

How do I specify the platform with chef-gem?


Usually you install a platform-dependant gem like this:

gem install sys-proctable -q --no-rdoc --no-ri -v "0.9.3" --platform mswin32

How do I pass the --platform parameter with chef_gem?

Best,

-Iulian


Solution

  • Pretty sure I answered you on IRC, but for the future you would use options '--platform mswin32'. That said, binary gems are flaky at best so expect to run into complications eventually.