Only access environment directly in configure block
Only access environment directly in configure block

`app.assets` is only available after the initializers run.
Use configure block to ensure run `register_engine` after `app.assets` initialized.

januszm/slim-rails,slim-template/slim-rails,januszm/slim-rails