Both rail guns and light gas guns cap out at around 6km/s, and you really want 8km/s (more actually, for hypersonic drag loss) for this to be economical. Otherwise you need to launch a large enough rocket to make up the 2km/s difference, and you stuck solving the rocket equation again. Except you've subjected your rocket to 1000g, and the odds of it being reusable are really small.
For rail guns, the plasma discharge on the rails limits your speed. Around 6km/s.
For light gas guns, the working temperature of the gas cannot exceed the melting point of the barrel (or get close), otherwise tungsten/steel will get into the working gas and slow down the speed of sound. With hydrogen+tungsten, also around 6km/s.
There is a better solution, though :).