lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.1 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.2
- old
+ new
@@ -31,14 +31,16 @@
package 'gdbm-devel'
package 'gmp-devel'
package 'libffi-devel'
if node[:patform] == 'redhat' && node[:platform_version].to_f < 8.0
package 'libyaml-devel'
+ else
+ # rust package only provide after rhel 8
+ package 'rust' # for yjit
end
package 'ncurses-devel'
package 'openssl-devel'
package 'readline-devel'
- package 'rust' # for yjit
package 'zlib-devel'
when 'osx', 'darwin'
package 'libffi'
package 'libyaml'
package 'openssl'