There is nothing wrong with railguns.
Most people that have access to gunship do not use it, the most common class is scout and the highest kills/assists are scouts.
if you are getting blown up by gunships I suggest not moving in a straight line at them.
they have bad speed, bad engines, and bad turning radius, most scouts completely decimate gunships withotu any fear of reprisal.