lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.6.6 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.6.7
- old
+ new
@@ -4,10 +4,10 @@
package 'autoconf'
package 'bison'
package 'build-essential'
package 'libffi-dev'
package 'libgdbm-dev'
- if node[:platform_version] >= '18.04'
+ if node[:platform] == 'ubuntu' && node[:platform_version] >= '18.04'
package 'libgdbm5'
package 'libreadline-dev'
else
package 'libgdbm3'
package 'libreadline6-dev'