Though i do think we need to continue research efforts because the payoff could be very high, the size/weight reduction and integration for a sea based package is what make me skeptical.
10 years may be doable...but the platform constraint is to fit in something roughly the size of existing gun mounts or a VLS mag at most without loss of capability. Tough.
My money would be on the next gen surface combatant beyond DDG Flight III for rail gun to become a serious consideration.
what would be interesting is the development of non kinetic payloads... and their survivability at those launch speeds