Maybe some combination of the two -- where the rails themselves are accelerated magnetically as they fire a projectile. Hell, give the projectile thrusters, make the energy just ridiculous.