Gym vs Home Workout

What's your preference?  Home gym/workouts or going to the gym?  I like at home for the convenience, but the gym atmosphere is nice and sometimes find myself pushing a bit harder there.