Switch to ENV["HOSTNAME"] to get hostname

faster than shelling out
Update gems