checking for rails env