Narrative:

On takeoff aircraft momentarily indicated landing gear air/ground fail. Message immediately extinguished. Landed on the longest runway at the nearest suitable airport without incident. Emergency was declared.

Google
 

Original NASA ASRS Text

Title: An E-145 flight crew declared an emergency and diverted to the nearest suitable airport when they received an EICAS air/ground fail message on takeoff.

Narrative: On takeoff aircraft momentarily indicated landing gear air/ground fail. Message immediately extinguished. Landed on the longest runway at the nearest suitable airport without incident. Emergency was declared.

Data retrieved from NASA's ASRS site as of July 2013 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.