lib/itamae/plugin/recipe/rbenv/install.rb in itamae-plugin-recipe-rbenv-0.6.7 vs lib/itamae/plugin/recipe/rbenv/install.rb in itamae-plugin-recipe-rbenv-0.6.8
- old
+ new
@@ -1,7 +1,9 @@
# This recipe requires `rbenv_root` is defined.
-include_recipe 'rbenv::dependency'
+if node[:rbenv][:install_dependency]
+ include_recipe 'rbenv::dependency'
+end
scheme = node[:rbenv][:scheme]
rbenv_root = node[:rbenv][:rbenv_root]
git rbenv_root do