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
The init script should use the Chef embedded Ruby? #215
Comments
That's a good point, though not entirely sure we should "hijack" the Chef embedded Ruby like this. This is a leftover from days when Chef didn't come with it's own Ruby and was installed from Rubygems. I think a cleaner solution might be to short-circuit the "verbose" |
yeah I would be happy with that. |
If `command -v ruby` doesn't return a valid ruby binary, don't use the JSON parsing parts of the init script that depend on ruby. Also check for the validity of `-rubygems` as a ruby argument, as this works in ruby before 1.9, but after, it's invalid. Fixes sous-chefs#215.
If `command -v ruby` doesn't return a valid ruby binary, don't use the JSON parsing parts of the init script that depend on ruby. Also check for the validity of `-rubygems` as a ruby argument, as this works in ruby before 1.9, but after, it's invalid. Fixes sous-chefs#215.
If `command -v ruby` doesn't return a valid ruby binary, don't use the JSON parsing parts of the init script that depend on ruby. Also check for the validity of `-rubygems` as a ruby argument, as this works in ruby before 1.9, but after, it's invalid. Fixes sous-chefs#215.
+1 Is there an ETA on the release that includes this? |
@spuder I haven't been able to find some time for this, and we're focused on the |
Sorrz for missing this for so long, closed in f7fb420 |
/etc/init.d/elasticsearch: line 111: ruby: command not found
not cool! we should use the chef embedded ruby for this, or find a way to do it in shell.
The text was updated successfully, but these errors were encountered: