Add require_environment setting.
changelog
Merge branch 'pr/946' into devel