There are some pieces of equipment designed for exercising the gastrocnemius. Most of them involve hanging your heels over an edge. However, you can do the same thing without equipment by using your body weight and a set of stairs.
All running and jumping activities provide exercise to your gastrocnemius, since its contraction provides the final push to propel your foot off of the ground.