added set rails_env to foreman.