I'm sorry I was being confusing, I didn't actually mean a ramjet engine, I was only using that as the term for the projectile in ram accelerators. The difference is, the ramjet (projectile) is the same as a ramjet (engine) but it (projectile) DOES NOT have it's own gas tank/flow, and as it moves through a tube it compresses a fuel/air mix, the compression heats the mix, ignites it and spits it out the back making pressure. The ramjet (engine) has its own fuel supply, and doesn't need the tube (accelerator).
I'm not trying to be sarcastic or anything, I'm just trying to clarify
Edit:
ferret_guy, that's a little different than I was thinking, but it very well could work, there'd just have to be near-perfect alignment so the projectile doesn't smash into the rails. As I said above, I thought a ram accelerator just used a ramjet engine, without it's own fuel supply instead of a rail system like that, but that could work.