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

Attribute ruby_bin not available anymore #244

Closed
Annih opened this issue Jan 14, 2015 · 3 comments
Closed

Attribute ruby_bin not available anymore #244

Annih opened this issue Jan 14, 2015 · 3 comments
Labels
Priority: Critical Type: Bug Does not work as expected.

Comments

@Annih
Copy link
Contributor

Annih commented Jan 14, 2015

Hello,

The attribute node['chef_client']['ruby_bin'] has been removed here but is still in used in the task recipe.

I'm not sure if this change has been made on purpose but we should mention it in the changelog.

@juliandunn
Copy link
Contributor

Yeah, should probably replace that with a helper that does something like

require 'rbconfig'
interpreter = File.join(RbConfig::CONFIG["bindir"],
                                  RbConfig::CONFIG["RUBY_INSTALL_NAME"] +
                                  RbConfig::CONFIG["EXEEXT"])

@brugidou
Copy link

+1

@tas50 tas50 added bug labels Jul 14, 2016
@tas50 tas50 removed bug labels Aug 2, 2016
@tas50 tas50 added Type: Bug Does not work as expected. Priority: High labels Dec 6, 2016
@tas50
Copy link
Contributor

tas50 commented Jun 21, 2017

This appears to be fixed in the latest cookbook release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Critical Type: Bug Does not work as expected.
Development

No branches or pull requests

4 participants