Investing in a treadmill or gym membership?

My membership contract is over and now I am thinking of just purchasing a treadmill opposed to monthly fees for membership. I only use the treadmill at the gym and do my weights at home.. I usually like the different atmosphere to workout but lately I just don't want to workout around others. I am undecided really! What works for you home equipment or the gym?
Investing in a treadmill or gym membership?
Post Opinion