diff --git a/lib/puppet/type/rvm_gem.rb b/lib/puppet/type/rvm_gem.rb index e8aba2d7..07b83688 100644 --- a/lib/puppet/type/rvm_gem.rb +++ b/lib/puppet/type/rvm_gem.rb @@ -86,7 +86,7 @@ def insync?(is) end case is - when is.is_a?(Array) + when Array if is.include?(@latest) return true else