rspec-puppet LoadError

With this setup, I would get the error : no such file to load -- rspec-puppet (LoadError). The fix was to add require 'rubygems' at the top of the file.