Location, location, location.
There will be days (lots) when motivation is low. On those days if the gym is on the way home you'll go. If it's out of your way you won't.
The latest equipment is nice and so is eye candy but neither will do you any good if you aren't there.