I want to spend one day in Gibraltar during my trip to Spain. What are my travel options?

I shall most probably travel from Barcelona (my landing city) to Gibraltar. I have a preference for economy first.

(This is not about visa requirements).