I could go to a gym in theory, but it's at least 20 minutes away, there would be a whole ritual to dress up, go there, workout, cool off, come back. It would take an extra hour and I imagine many gym goers are paying extra in time to work out. It wears on your motivation.
I know I'd skip many more days, the results would be even less apparent which would undermine my motivation.
Most important exercises can be done with a barbell and 2-300 lbs of plates. At home, without a rack, you could safely squat 150 after getting there with powercleans and overhead prss. Then you could go to a gym once a week for its racks, leg press, etc.
The only thing I regret is buying standard plates, barbells and dumbbells instead of olympics. Standard barbells can't handle more than 230 lbs safely. It would be nice to deadlift and bench 300 lbs at home. Pain in the ass to sell the old set. So if you go this route, I'd recommend spending more and getting olympics. And don't worry about sucky olympic dumbbells, do Starting Strength, it's fine without them.