Resistance bands, a pull-up bar and a TRX go a long way for a fraction of the cost and space of a gym. Not as effective as free weights (in my personal experience) for putting on a lot of new muscle, but still quite effective.
Here's the ones I use [1][2].