How do you deal with it

When the person you are really attracted to only sees you as a friend? 
I really fancy this guy from work but he's such a genuine, nice, chilled out guy that I get the vibe that he only sees us as friends. I don't want to ask him because if he doesn't feel the same way then it will ruin our friendship.