lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.4 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.9.5

- old
+ new

@@ -1,18 +1,21 @@ # Dependencies to install x.y.z (see also: development_dependency.rb) # https://github.com/rbenv/ruby-build/wiki#suggested-build-environment case node[:platform] -when 'debian', 'ubuntu', 'mint' +when 'debian', 'ubuntu', 'mint', 'raspbian' package 'build-essential' package 'libffi-dev' package 'libgdbm-dev' if node[:platform] == 'ubuntu' && node[:platform_version] >= '20.04' package 'libgdbm6' package 'libreadline-dev' elsif node[:platform] == 'ubuntu' && node[:platform_version] >= '18.04' package 'libgdbm5' package 'libreadline-dev' elsif node[:platform] == 'debian' && (node[:platform_version].to_f >= 10.0 || node[:platform_version].include?("testing")) + package 'libgdbm6' + package 'libreadline-dev' + elsif node[:platform] == 'raspbian' package 'libgdbm6' package 'libreadline-dev' else package 'libgdbm3' package 'libreadline6-dev'