lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.3 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.4
- old
+ new
@@ -29,13 +29,12 @@
package 'gcc'
package 'make'
package 'gdbm-devel'
package 'gmp-devel'
package 'libffi-devel'
- if node[:platform] == 'redhat' && node[:platform_version].to_f < 8.0
- package 'libyaml-devel'
- else
- # rust package only provide after rhel 8
+ package 'libyaml-devel'
+ # rust package only provide after rhel 8
+ if node[:platform] == 'redhat' && node[:platform_version].to_f > 8.0
package 'rust' # for yjit
end
package 'ncurses-devel'
package 'openssl-devel'
package 'readline-devel'