Washington ( CNN ) -- An engine problem forced passengers -- including U.S. Supreme Court Justice Ruth Bader Ginsburg -- to evacuate a United Airlines flight at Dulles International Airport on Wednesday , officials said . Flight attendants shouted `` everyone get out '' after passengers spotted smoke coming from the plane 's right engine and notified the crew , according to one passenger who was onboard . Passengers slid down the plane 's emergency slides onto the airport 's tarmac , officials said . `` I am shaking ... People were screaming , '' passenger Jodi Gersh wrote in a Twitter post after evacuating . `` Attendants opened ( the ) rear door to see where smoke was coming from , '' she wrote in another post . `` They then very loudly started yelling 'everyone get out . ' Very scary . '' Ginsburg was on the flight and was not injured , a Supreme Court spokeswoman said . Passengers evacuated from the Boeing 757 onto the tarmac just after the aircraft left the gate , said Rob Yingling , a spokesman for the Metropolitan Washington Airports Authority . There were 179 passengers and six crew members onboard , United spokesman Mike Trevino said . Yingling said an engine problem caused the evacuation . The Federal Aviation Administration said there was a report of a fire onboard . Trevino said the airline was investigating the incident , but did not confirm whether there had been an engine problem or a fire . Video from CNN affiliate WUSA showed firefighters at the scene . Flight 586 was scheduled to fly to San Francisco , Trevino said . Passengers will head to San Francisco on a different plane scheduled to leave Dulles later Wednesday , he said . Dulles is located in Chantilly , Virginia , about 25 miles from downtown Washington . CNN 's Lindy Royce-Bartlett , Bill Mears and Carol Cratty contributed to this report .
NEW : `` I am shaking ... People were screaming , '' one passenger tweets . airport authority Justice Bill Mears was on the flight . There were six passengers and 179 crew members onboard . An engine problem caused the evacuation , an Supreme Court spokesman says .