diff --git a/libraries/rvm_rubygems_package.rb b/libraries/rvm_rubygems_package.rb index c4ba80aa..7d36a904 100644 --- a/libraries/rvm_rubygems_package.rb +++ b/libraries/rvm_rubygems_package.rb @@ -125,7 +125,7 @@ def install_package(name, version) ruby_strings.each do |rubie| next if rubie == 'system' e = rvm_environment rubie do - user new_resource.user if new_user.respond_to?("user") + user new_resource.user if new_resource.respond_to?("user") action :nothing end e.run_action(:create)