```ruby
module Stache
  class Railtie < ::Rails::Railtie
    initializer 'stache.autoload', :before => :set_autoload_paths do |app|
      app.config.autoload_paths << Rails.root + 'app/views'
    end

    config.to_prepare do
      ApplicationController.send(:append_view_path, Stache.template_base_path)
    end

    initializer 'stache.extend_action_controller_base' do
      ActiveSupport.on_load(:action_controller) do
        Stache::System.setup
      end
    end
  end
end
```

Change additional path from Pathname to String
user
```ruby
module Stache
  class Railtie < ::Rails::Railtie
    initializer 'stache.autoload', :before => :set_autoload_paths do |app|
      app.config.autoload_paths << (Rails.root + 'app/views').to_s
    end

    config.to_prepare do
      ApplicationController.send(:append_view_path, Stache.template_base_path)
    end

    initializer 'stache.extend_action_controller_base' do
      ActiveSupport.on_load(:action_controller) do
        Stache::System.setup
      end
    end
  end
end
```
assistant