Not working on Ubuntu 14.04

With the new LTS release of ubuntu, the rubygems package was removed.

A quick fix would be:

    if $::osfamily == 'Debian' and $::operatingsystemrelease == '12.04' {
      $deps = ['gcc','rubygems', 'libssl-dev', 'ruby-dev']
    }
    else {
      $deps = ['gcc','libssl-dev', 'ruby-dev']
    }
Is this line needed still with the ensure_packages() declaration on line 42?