Fixed issue with older ruby gems versions

See here for more info https://github.com/geminabox/geminabox/pull/128