Skip to content

version 0.8.0 pulls in ohai 8.2.0 gem which requires ruby 2.x #11

@mmmorris1975

Description

@mmmorris1975

When using attribute-validator cookbook, it is pulling in version 0.8.0 of chef-attribute-validator gem, which in turn is pulling in version 8.2.0 of the ohai gem, which in turn requires ruby 2.x.

Install fails with this error:

/opt/chef/embedded/bin/gem install chef-attribute-validator

Fetching: chef-attribute-validator-0.8.0.gem (100%)
Fetching: mime-types-2.4.3.gem (100%)
Fetching: mixlib-shellout-2.0.1.gem (100%)
Fetching: ohai-8.2.0.gem (100%)
ERROR: Error installing chef-attribute-validator:
ohai requires Ruby version >= 2.0.0.

We are using Chef 11.16, which is still on ruby 1.9.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions