added type for rubygems array