AngularJS and Rails routing error

后端 未结 3 603
萌比男神i
萌比男神i 2021-01-04 15:29

I am following the tutorial at: https://thinkster.io/angular-rails/

and when I get to the section: Integrating the Front-end with the Asset Pipeline, things break; t

相关标签:
3条回答
  • 2021-01-04 15:52

    Christian's answer worked for me. To cut out the extra link, the answer is to add

    gem 'sprockets', '2.12.3'
    

    to your Gemfile and then run a bundle update.

    0 讨论(0)
  • 2021-01-04 16:02

    Ran into the same issue. sprockets issue.

    solution here: Angular Rails Templates just not working

    and here: http://www.ademartutor.com/angular-rails-templates-gem-error-with-sprockets-3-0-o/

    0 讨论(0)
  • 2021-01-04 16:15

    I had the same problem. Running bundle update fixed it by installing newer versions of sprockets and angular-rails-templates gems.

    0 讨论(0)
提交回复
热议问题