I hate the way my friend acts
Does this hurt you in some way, or is he forcing you to do something that you don't want to do?
No, I mean he just stays at home and he lives in a boring town. That's not my kind of life
It's okay to be annoyed with your friends from time to time, but you shouldn't constantly judge the way they live their lives.  If your friend prefers a quiet life, then that is his decision.  Maybe you could have fun with someone else from time to time?
Maybe that's a good way to handle this.
I think so!  You should take your mind of your friend and focus on enjoying yourself instead!  There's no sense in worrying or judging how others live their lives, he's doing what makes him happy and you should do the same!