bradphelan/jasminerice — comment on commit ef4014dfb2057ddb0617cb0aa22e97a7b8b85934
File: config/routes.rb line 11
By dnagir:

We can also avoid adding `Jasminerice.environments` config variable if we mount the engine this way:

`mount Jasminerice::Engine => "/jasmine" if defined? Jasminerice`

This makes it consistend with the `Gemfile` and allows you to control it from there (by adding gem to a particular group).

Seems to be much cleaner then messing with additional config variable (which in most cases should correspond to the Gemfile)