```ruby
module Roots
  class Engine < ::Rails::Engine
     isolate_namespace Roots
  end
end
```

Allow Roots to mount itself
user
```ruby
module Roots
  class Engine < ::Rails::Engine
     isolate_namespace Roots

     initializer 'roots', before: :load_config_initializers do |app|
      Rails.application.routes.append do
        mount Roots::Engine, at: '/roots'
      end
    end
  end
end
```
assistant