Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rails 3.2 rails generate rspec:install... undefined method `delegate_template_exists?' for class `ActionView::Base' (NameError)

Got this error trying to do a new project with rails 3.2. haml issue ?

rails generate rspec:install
/home/me/.rvm/gems/ruby-1.9.2-p290/gems/haml-3.1.3/lib/haml/template/patch.rb:16:  
in `alias_method': undefined method `delegate_template_exists?'  
for class `ActionView::Base' (NameError)
like image 852
Michael Durrant Avatar asked Feb 21 '23 18:02

Michael Durrant


1 Answers

Here is the issue reported to rails. There was some discussion both in Rails and HAML and looks like it was fixed there. Try using HAML 3.1.4.

like image 157
KL-7 Avatar answered Feb 24 '23 08:02

KL-7