require rubygems is wrong but it seems essential for puppet