Adapt GemFile for older versions of ruby