Why can't beryllium react with hydrogen gas directly to give hydride?

I read in a textbook that all alkali metal and alkaline earth metal can react with hydrogen directly to give hydride except for beryllium. I want to know the reason why because I know that $\ce{BeH2}$ exists in a polymeric state.