Closed andyrue closed 7 years ago
I think the issue specifically has to do with Sprockets 4.0 compatibility. Not sure how to fix it though.
I have submitted a PR request with the fix.
Meanwhile you can use
gem 'typescript-rails', github: 'mihai-dinculescu/typescript-rails'
This is merged meanwhile and can be closed as far as I can see :)
I'm using Rails 5.0.0.rc.1 and get this error upon starting the server on a new project with
gem typescript-rails
installed./ typescript-rails/lib/typescript/rails/railtie.rb:8:in
block in <class:Railtie>': undefined method
register_engine' for Sprockets:Module (NoMethodError)Is there a trick to getting this to work with Rails 5? Thanks!