...for YHWH Elohim had not caused it to rain on the land... Genesis 2:5

The lack of rain before the creation of Adam doesn't imply no rain after his creation. In fact, since the text says that no plants had sprouted "for YHWH Elohim had not caused it to rain" must mean that it did rain later or else none of the plants in question would ever have sprouted.