Fixing gem dependency version problems