lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.6.10 vs lib/itamae/plugin/recipe/rbenv/dependency.rb in itamae-plugin-recipe-rbenv-0.7.0
- old
+ new
@@ -46,13 +46,18 @@
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
- # for backward compatibility (<= v0.2.1)
- package 'libffi-devel'
- package 'openssl-devel'
- package 'readline-devel'
+ raise NotImplementedError, "Platform '#{node[:platform]}' is not supported by rbenv::dependency yet"
end
package 'git'