I'm developing a Rails 3.1 engine, and to integration test it I want to use SLIM instead of plain ol' ERB. So I tried to simply add s.add_development_dependency "slim"
to my .gemspec
file, but when renaming my index.html.erb
file to index.html.slim
, Rails complains:
Missing template dummy/index, application/index with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. Searched in: * "/Users/josh/Documents/Work/Sientia/iq_menu/full/spec/dummy/app/views" * "/Users/josh/Documents/Work/Sientia/iq_menu/full/app/views"
I tried it also with the slim-rails
gem and also with the haml-rails
gem, but there renaming the file to index.html.haml
resulted in the same error.
What am I doing wrong?