Renewable energy and infrastructure markets investor Gibraltar Industries (NASDAQ:ROCK) has acquired solar racking technology specialist TerraSmart and solar software solutions provider Sunfig.