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

Got this error trying to make a new project with rails 3.2. haml problem?

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) 
+4
source share
1 answer

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

+8
source

Source: https://habr.com/ru/post/1392284/


All Articles