Study on the molecular orbital energies of ruby under pressure