【问题标题】:rails 3.2 rails generate rspec:install... undefined method `delegate_template_exists?' for class `ActionView::Base' (NameError)rails 3.2 rails generate rspec:install... undefined method `delegate_template_exists?'对于类 `ActionView::Base' (NameError)
【发布时间】:2012-02-16 00:59:37
【问题描述】:

尝试使用 rails 3.2 执行新项目时遇到此错误。 哈姆问题?

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)

【问题讨论】:

    标签: ruby-on-rails ruby rspec haml ruby-on-rails-3.2


    【解决方案1】:

    这是报告给 rails 的issue。在 Rails 和 HAML 中都有一些讨论,看起来它已修复 there。尝试使用 HAML 3.1.4

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多