rails seems to be adding http:// to the production settings of default url options so were removing the addition of this in the gem