Sha256: bb539e52588d271f1d79d924d75720356b68809f275f752d812dbd9a7594a220

Contents?: true

Size: 520 Bytes

Versions: 8

Compression:

Stored size: 520 Bytes

Contents

node.reverse_merge!(
  rbenv: {
    plugins:  {},
    scheme:   'https',
    user:     ENV['USER'],
    versions: [],
    install_dependency: true,
    install_development_dependency: false,
  },
  :'ruby-build' => {
    install: true,
    build_envs: [],
  }
)

unless node[:rbenv][:rbenv_root]
  case node[:platform]
  when 'osx', 'darwin'
    user_dir = '/Users'
  else
    user_dir = '/home'
  end
  node[:rbenv][:rbenv_root] = File.join(user_dir, node[:rbenv][:user], '.rbenv')
end

include_recipe 'rbenv::install'

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
itamae-plugin-recipe-rbenv-0.9.7 lib/itamae/plugin/recipe/rbenv/user.rb
itamae-plugin-recipe-rbenv-0.9.6 lib/itamae/plugin/recipe/rbenv/user.rb
itamae-plugin-recipe-rbenv-0.9.5 lib/itamae/plugin/recipe/rbenv/user.rb
itamae-plugin-recipe-rbenv-0.9.4 lib/itamae/plugin/recipe/rbenv/user.rb
itamae-plugin-recipe-rbenv-0.9.3 lib/itamae/plugin/recipe/rbenv/user.rb
itamae-plugin-recipe-rbenv-0.9.2 lib/itamae/plugin/recipe/rbenv/user.rb
itamae-plugin-recipe-rbenv-0.9.1 lib/itamae/plugin/recipe/rbenv/user.rb
itamae-plugin-recipe-rbenv-0.9.0 lib/itamae/plugin/recipe/rbenv/user.rb