Permalink
Browse files

Array-ize node['rvm']['user_installs'].

  • Loading branch information...
1 parent 94a2e71 commit e7092bb1e26e921de7a0647e7cc865f4831d6407 @fnichol fnichol committed Aug 23, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 recipes/user.rb
  2. +1 −1 recipes/user_install.rb
View
@@ -19,7 +19,7 @@
include_recipe 'rvm::user_install'
-node['rvm']['user_installs'].each do |rvm_user|
+Array(node['rvm']['user_installs']).each do |rvm_user|
perform_install_rubies = rvm_user['install_rubies'] == true ||
rvm_user['install_rubies'] == "true" ||
node['rvm']['user_install_rubies'] == true ||
@@ -21,7 +21,7 @@
install_pkg_prereqs
-node['rvm']['user_installs'].each do |rvm_user|
+Array(node['rvm']['user_installs']).each do |rvm_user|
script_flags = build_script_flags(rvm_user['version'], rvm_user['branch'])
upgrade_strategy = build_upgrade_strategy(rvm_user['upgrade'])
installer_url = rvm_user['installer_url'] || node['rvm']['installer_url']

0 comments on commit e7092bb

Please sign in to comment.