use proper value from rails_env