Skip to content

Commit

Permalink
Fix rbenv/gems hash parsing. Closes #4
Browse files Browse the repository at this point in the history
  • Loading branch information
fnichol committed Feb 22, 2012
1 parent bc4db41 commit 78d9014
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes/system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
node['rbenv']['gems'].each_pair do |rubie, gems|
Array(gems).each do |gem|
rbenv_gem gem['name'] do
%w{rbenv_version version action options source}.each do |attr|
rbenv_version rubie

%w{version action options source}.each do |attr|
send(attr, gem[attr]) if gem[attr]
end
end
Expand Down

0 comments on commit 78d9014

Please sign in to comment.