Fixing gem dependencies