Sha256: 864075b724261d248c3db33eefc231b0c7775cfd273fd69c29d419d4dc5f57ec

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

# encoding: utf-8

node[:rtn_rbenv] ||= {}

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

case os[:family]
when %r(debian|ubuntu)
  packages << 'zlib-dev'
  packages << 'openssl-dev'
  packages << 'readline-dev'
when %r(redhat|fedora)
  packages << 'zlib-devel'
  packages << 'openssl-devel'
  packages << 'readline-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.0.1 lib/itamae/plugin/recipe/rtn_rbenv/common.rb