Require rubygems for older ruby versions
Require rubygems for container setup tool
Refactor rootfs_path method