Why doesn't rubidium react with nitrogen gas?
Lithium is the only group 1 element that can form a stable alkali metal nitride (at standard conditions), the other group 1 elements (such as sodium, potassium, rubidium,...) will react (at different reaction conditions) to form their respective nitrides (in the case of rubidium, $\ce{Rb3N}$ (rubidium nitride)), but the compound will be unstable and decompose quickly.  The reactions of the alkali metals (other than lithium) with nitrogen would not release enough lattice energy and would thus be endothermic, so they do not form nitrides at standard conditions

Read more here : http://en.wikipedia.org/wiki/Alkali_metal#Nitrides_and_pnictides