An alternative and attractive option to the bus or train could be for you to arrange car hire Gerona Airport or from Barcelona city centre (depending on which way you're going). You can then drive along the coast and stop off at some of the beaches en route. In order to do this you will need to find a car hire company that will allow you to have a one-way trip.
My recommendation would be to ring Girona airport information desk and ask about the car hire services or speak directly to the car rental companies - details below.
If you use an online reservation service ensure that you can book the car at one destination and drop it off at another - unless you are aiming on keeping the car for a round trip.
Hertz Car Rental
Tel: +34 97 218 6619
Avis Car Rental - Gerona Airport
Tel: +34 97 247 4333
For Reservations: Tel: +34 90 213 5531
Girona Airport Tel: +34 97 218 6618
Girona Railway Station Tel: +34 97 220 9946