Greg Carey writes on the Sojourner's website:
God does not prohibit Eve from eating the fruit. God fills the garden of Eden with trees that bear fruit. Yet God sets apart one tree as forbidden. “You may freely eat of every tree in the garden; but of the tree of the knowledge of good and evil you shall not eat” (2:16-17, NRSV). God provides this instruction to Adam but not to Eve. She hadn’t yet been created. Eve apparently hears this news from Adam (3:2-3).How could I have missed that???????
Eve does *not* disobey anything God told her by eating that fruit, though it is clear from her response to the serpant (3:2-3) that Adam had passed on God's words to her.
Carey also observes that at least part of Eve's reason for eating the fruit was that she sought wisdom. And if the personalification of wisdom as feminine in other parts of the Bible (e.g. Proverbs 8) is any indication, that was an admirable outcome!