How to rotate a gradient in the node editor?
You use the Mapping Node, add it with Shift-A>Vector>Mapping. Don't forget to add the texture cordinate into the mapping node, it will not work otherwise.



You will then need to tweak the Y and Z values. To get 90o You will need to set the Y one to 90o

Here is it at work: