Changed deploy script inline with gem changes