lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.8.5 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.8.6
- old
+ new
@@ -26,10 +26,12 @@
package 'bzip2'
package 'gcc'
package 'make'
package 'gdbm-devel'
package 'libffi-devel'
- package 'libyaml-devel'
+ if node[:patform] == 'redhat' && node[:platform_version].to_f < 8.0
+ package 'libyaml-devel'
+ end
package 'ncurses-devel'
package 'openssl-devel'
package 'readline-devel'
package 'zlib-devel'
when 'osx', 'darwin'