Bug/21826: resize2fs isn't called during resizing on ruby>1.8

http://projects.puppetlabs.com/issues/21826

Thanks to Noel Cower for help with gist and ruby testing.