adds conditions for nodes without ruby installed