from the drawing boards, two mock-ups, to huge laboratory test-beds, now to reality. the U.S. Navy has created and built with the help of BAE system, have a working railgun at Virginia a testing ground. The working prototype uses non-aerodynamic rounds to control distance and force.
the issue of electricity, shipboard EMC/EMI, and connection to the shipboard power grid are major hurdles still to overcome.
click on the link below to see a test video
More @ Gizmodo.com