lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.6.4 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.6.5

- old
+ new

@@ -4,12 +4,17 @@ package 'autoconf' package 'bison' package 'build-essential' package 'libffi-dev' package 'libgdbm-dev' - package 'libgdbm3' + if node[:platform_version] >= '18.04' + package 'libgdbm5' + package 'libreadline-dev' + else + package 'libgdbm3' + package 'libreadline6-dev' + end package 'libncurses5-dev' - package 'libreadline6-dev' package 'libssl-dev' package 'libyaml-dev' package 'zlib1g-dev' when 'redhat', 'fedora', 'amazon' # redhat is including CentOS