Sha256: fedc0c67adabe05e1eb9527a7ebd147ca85651c02cb9109bdee57c4391be17e0

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 Bytes

Contents

# encoding: utf-8

node[:rtn_rbenv] ||= {}

packages = []
packages << 'gcc'
packages << 'git'

case node[:platform]
when %r(debian|ubuntu)
  packages << 'autoconf'
  packages << 'bison'
  packages << 'build-essential'
  packages << 'libssl-dev'
  packages << 'libyaml-dev'
  packages << 'libreadline6-dev'
  packages << 'zlib1g-dev'
  packages << 'libncurses5-dev'
  packages << 'libffi-dev'
when %r(redhat|fedora)
  packages << 'gdbm-devel'
  packages << 'openssl-devel'
  packages << 'libyaml-devel'
  packages << 'readline-devel'
  packages << 'zlib-devel'
  packages << 'ncurses-devel'
  packages << 'libffi-devel'
end

packages.each { |package_name| package package_name }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
itamae-plugin-recipe-rtn_rbenv-0.1.1 lib/itamae/plugin/recipe/rtn_rbenv/common.rb