Iulian
Iulian

Reputation: 319

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

Upvotes: 0

Views: 42

Answers (1)

coderanger
coderanger

Reputation: 54211

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.

Upvotes: 1

Related Questions