I've installed the haml gem via my Gemfile. Everything seems okay in
development, but in production I get the following trying to load a view
that I converted to haml:
ActionView::MissingTemplate (Missing template admin/events/index,
application/index with {:locale=>[:en], :formats=>[:html],
:handlers=>[:erb, :builder]}. Searched in:
* "/home/deployer/apps/myapp/releases/20130910022213/app/views"
*
"/home/deployer/apps/myapp/shared/bundle/ruby/1.9.1/gems/devise_invitable-1.1.5/app/views"
*
"/home/deployer/apps/myapp/shared/bundle/ruby/1.9.1/gems/devise-2.2.3/app/views"
):
app/controllers/admin/events_controller.rb:11:in `index'
I've found a few similar questions on StackOverflow. I have tried
everything I have found that was recommended, yet nothing seems to work...
- confirmed that gem was in Gemfile, but not in assets
- tried specifying latest version in gemfile
- tried using haml-rails gem instead of haml
- tried setting assets to lazily complied in application.rb
Any ideas?
Rails 3.2.9 installed via rbenv
Nginx + Unicorn
--
You received this message because you are subscribed to the Google Groups
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/haml.
For more options, visit https://groups.google.com/groups/opt_out.