change env var to rails env