maintain backwards compatibility with ruby version 1.8.7 (used on the default opsworks version of Ubuntu)