lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.7.3 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.8.0

- old
+ new

@@ -1,10 +1,9 @@ -# cf) https://github.com/rbenv/ruby-build/wiki#suggested-build-environment +# 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' - package 'autoconf' - package 'bison' package 'build-essential' package 'libffi-dev' package 'libgdbm-dev' if node[:platform] == 'ubuntu' && node[:platform_version] >= '18.04' package 'libgdbm5' @@ -18,14 +17,11 @@ end package 'libncurses5-dev' package 'libssl-dev' package 'libyaml-dev' package 'zlib1g-dev' -when 'redhat', 'fedora', 'amazon' - # redhat is including CentOS - package 'autoconf' - package 'bison' +when 'redhat', 'fedora', 'amazon' # redhat includes CentOS package 'bzip2' package 'gcc' package 'make' package 'gdbm-devel' package 'libffi-devel' @@ -43,28 +39,24 @@ package 'libffi' package 'libyaml' package 'openssl' package 'zlib' when 'opensuse' - package 'automake' package 'gcc' package 'gdbm-devel' package 'libffi-devel' package 'libyaml-devel' package 'ncurses-devel' package 'openssl-devel' package 'readline-devel' package 'zlib-devel' when 'openbsd' - package 'autoconf' - package 'bison' package 'gdbm' package 'libffi' package 'libyaml' package 'openssl' package 'readline' else raise NotImplementedError, "Platform '#{node[:platform]}' is not supported by rbenv::dependency yet" end package 'git' -package 'subversion'