Rails Missing Template On Production Server -


before start, i'd stress i've looked answers , i've tried solve issues myself.

i have 2 types of controllers -

  1. a controller set of methods render json - works perfectly

  2. a controller renders html

this code working on local machine , problem have second controller on production machine.

i've added 755 permissions files file owner user on server "root". i've added files www-data group though.

my controller simple.

class administratorcontroller < applicationcontroller   def login    end end 

and file views/administrator/login.html.haml.

i'm getting error -

actionview::missingtemplate (missing template administrator/login, application/login {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder]}. searched in: 

* "/var/www/sitename/app/views" ):

try add gemfile

gem 'haml-rails' 

and run bundle install.


Comments