railsware / smt_rails

Shared mustache templates for rails 3.
http://blog.railsware.com/2012/04/12/shared-mustache-templates-for-rails-3/
MIT License
109 stars 21 forks source link

Error with Sprockets 4 #19

Open frodrigo opened 7 years ago

frodrigo commented 7 years ago
~/.gem/gems/smt_rails-0.2.9/lib/smt_rails/engine.rb:9:in `block (2 levels) in <class:Engine>': undefined method `register_engine' for #<Sprockets::Environment:0x00000004f20130> (NoMethodError)
Did you mean?  register_pipeline
    from /home/fred/.gem/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:179:in `block in build_environment'
    from /home/fred/.gem/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:178:in `each'
    from /home/fred/.gem/gems/sprockets-rails-3.2.0/lib/sprockets/railtie.rb:178:in `build_environment'
le0pard commented 7 years ago

Hello @frodrigo . This gem never was tested with Sprockets 3 or 4, so I am sure, it will not work.