This topic always bemuses me. So much effort to limit and write out Railguns, while not a blink about Plasma and fusion weapons. Not to mention Meson weapons.
I can't speak to the plasma/fusion weapons, mostly as I don't give them second thought on starships.
Meson guns are light speed weapons, with particles wrapped in handwavium.
The simple problem with rail guns are the painful realities of velocity and distance, and the impracticalities of such in a world with the other existing weapons.
The "standard" suite of Traveller weapons operate over vast distances, 10's - 100's of thousands of kilometers. At those ranges, even light speed weapons are "ballistically" targeted, when aiming at a moving target, you gotta lead 'em a little.
Particle physics and manipulation of the electromagnetic spectrum are all standard tropes in Sci Fi gaming and, as a general rule, we don't have to worry so much about the "real" physics involved.
But start trying to accelerate masses, of "dumb" ordnance, at velocities enough to be at all effective at the nominal combat ranges of the other weapons, and now the "real" physics start to be a "real" problem.
If in your TU you want to limit ships to closing to a couple of kilometers and "let fly" with the equivalent of black powder weapons, then that's fine. But if you wish to compete and be compatible with the current universe, it's quite a stretch, even for Traveller.