added rails env fetch to foreman.