The Ruby Princess cruise ship that was damaged after it crashed into a pier in San Francisco is expected to set sail on Sunday after it was cleared for departure.