Add support for systems that do not use rubygems.

A lot of modern environments like ubuntu 14.04 don't have a Rubygems package. This patch allows users to use the cookbook without Rubygems in such situations. The default behavior is unchanged.