Sha256: 710301e122ba9a2090dd4e474ab83aa723087190aefb4914993b611ba99e5e6a

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 Bytes

Contents

# Generated by Chef for <%= node['fqdn'] %>
# Local modifications will be overridden

# prefer a user rbenv over a system wide install
if [ -s "${HOME}/.rbenv/bin" ]; then
  rbenv_root="${HOME}/.rbenv"
elif [ -s "<%= node['rbenv']['root_path'] %>" ]; then
  rbenv_root="<%= node['rbenv']['root_path'] %>"
  export RBENV_ROOT="$rbenv_root"
fi

if [ -n "$rbenv_root" ]; then
  export PATH="${rbenv_root}/bin:$PATH"
  eval "$(rbenv init -)"
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/ruby_rbenv/templates/default/rbenv.sh.erb
from-scratch-0.6.0 cookbooks/ruby_rbenv/templates/default/rbenv.sh.erb