master
 1use_inline_resources
 2
 3action :install do
 4  bash "gem_#{new_resource.name}" do
 5    code <<-BASH
 6source /etc/profile.d/rbenv.sh
 7gem install #{new_resource.name} --no-ri --no-rdoc
 8BASH
 9  end
10end