Rails 4 找不到文件 'angular-rails-templates'
Rails 4 Couldn't find file 'angular-rails-templates'
我正在按照本教程:https://thinkster.io/angulartutorial/angular-rails/ and everything went well till the part where I had to arrange my angular code with folders in the rails assets pipeline javascripts and use the gem 'angular-rails-template' (https://github.com/pitr/angular-rails-templates) 来联系他们。
我已经通过 Gemfile 安装了 gem,但我收到 "couldn't find file 'angular-rails-templates'" 错误,即使我已经在 application.js:
//= require angular
//= require angular-rails-templates
//= require angular-ui-router
//= require_tree .
有什么建议吗?
显然我确定我重新启动了服务器,但我没有。如果有人遇到此问题,请尝试使用老式解决方案来解决它。
我正在按照本教程:https://thinkster.io/angulartutorial/angular-rails/ and everything went well till the part where I had to arrange my angular code with folders in the rails assets pipeline javascripts and use the gem 'angular-rails-template' (https://github.com/pitr/angular-rails-templates) 来联系他们。
我已经通过 Gemfile 安装了 gem,但我收到 "couldn't find file 'angular-rails-templates'" 错误,即使我已经在 application.js:
//= require angular
//= require angular-rails-templates
//= require angular-ui-router
//= require_tree .
有什么建议吗?
显然我确定我重新启动了服务器,但我没有。如果有人遇到此问题,请尝试使用老式解决方案来解决它。