Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit e7092bb1e26e921de7a0647e7cc865f4831d6407 1 parent 94a2e71
@fnichol fnichol authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  recipes/user.rb
  2. +1 −1  recipes/user_install.rb
View
2  recipes/user.rb
@@ -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 ||
View
2  recipes/user_install.rb
@@ -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']
Please sign in to comment.
Something went wrong with that request. Please try again.