This summer, Subaru Telescope will welcome a new near-infrared spectrograph, NINJA, for its first on-sky engineering observations. NINJA is a new spectrograph designed for time-critical observations of rapidly evolving cosmic events, such as the electromagnetic counterparts of gravitational-wave sources.