(CNN) -- A fuel tank exploded on a pier in Gibraltar injuring 12 passengers on a Royal Caribbean cruise ship docked nearby, according to the cruise line.
The ship, Independence of the Seas, retracted the gangway and immediately moved away from the dock, the cruise line said.
"Twelve guests sustained minor injuries and have received medical treatment onboard," Royal Caribbean said.
Two injuries have been reported on shore, according to the Gibraltar Chronicle.
Two Independence of the Seas passengers were still on shore when the explosion happened. They were not injured, the cruise line said, and Royal Caribbean is assisting them with travel arrangements to rejoin the ship Thursday in France.
Independence of the Seas is scheduled to follow its original itinerary and arrive on the French Riviera Thursday.