From 55bcec3bb6003e2d04e72455dc542a5e416a874e Mon Sep 17 00:00:00 2001 From: Brad Phelan Date: Mon, 28 Nov 2011 22:45:12 +0100 Subject: [PATCH] Change typo 'new_user' => 'new_resource' --- libraries/rvm_rubygems_package.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)