Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set['rbenv']['gems'] parsed incorrectly #4

Closed
hedgehog opened this issue Feb 16, 2012 · 2 comments
Closed

set['rbenv']['gems'] parsed incorrectly #4

hedgehog opened this issue Feb 16, 2012 · 2 comments

Comments

@hedgehog
Copy link
Contributor

This attribute:

set['rbenv']['gems'] = { '1.9.2-p290' => [
    { 'name'    => 'rbenv-rehash', 'version'=> '0.2' },
    { 'name'    => 'bundler', 'version' => '1.1.rc.7' },
    { 'name'    => 'chef', 'version' => '0.10.8' } ] }

Triggers this error:

Chef::Exceptions::ValidationFailed: rbenv_gem[global::rbenv-rehash] (system) (rbenv::system line 32) had an error:   Chef::Exceptions::ValidationFailed: Option rbenv_version must be a kind of String!  You passed false.

It seems that the hash key '1.9.2-p290' is not recognized as being the rbenv_version?

@fnichol
Copy link
Contributor

fnichol commented Feb 22, 2012

Came across this today actually :) Thanks!

GUI pushed a commit to NREL-cookbooks/rbenv that referenced this issue Mar 10, 2013
@lock
Copy link

lock bot commented May 31, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants