We already have a copy of it backported from 2.0 to 1.8 in RSpecSystem::Util: https://github.com/puppetlabs/rspec-system/blob/master/lib/rspec-system/util.rb#L3-L25. Just uncomment the include at the top of the class.