We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I copied the pattern used for rbenv-vars and ruby-build in the cookbook to create a generic function that would let me install any plugin.
Something like this could be provided as a way for a user to install any plugin instead of hard coding various plugins into the cookbook?
def install_plugin name, git_url, git_ref include_recipe "git" plugin_path = "#{node[:rbenv][:root]}/plugins/#{name}" with_home_for_user(node[:rbenv][:user]) do git plugin_path do repository git_url reference git_ref action :sync user node[:rbenv][:user] group node[:rbenv][:group] end end end
The text was updated successfully, but these errors were encountered:
Is there a better chance of getting this accepted if I make a pull request?
Sorry, something went wrong.
I would love this functionality!
Would be nice if someone answered..
We're not actively working on this cookbook, and we don't use rbenv plugins - but we'd be happy to review a PR.
No branches or pull requests
I copied the pattern used for rbenv-vars and ruby-build in the cookbook to create a generic function that would let me install any plugin.
Something like this could be provided as a way for a user to install any plugin instead of hard coding various plugins into the cookbook?
The text was updated successfully, but these errors were encountered: