Fix gem versions for ninoxe and apartment