I am using Ember JS for the first time. It is used in a Rails project, and I am using ember-rails stone. I followed the instructions on ember-rails github.
After bundle install I ran rails g ember:bootstrap to disable it. Then I also add the following two lines to application.js:
//= require ember App = Ember.Application.create();
The problem is that when I visit localhost: 3000 /, I get the following JavaScript errors registered on the console:
Uncaught Error: assertion failed: Ember Handlebars requires Handlebars 1.0.beta.5 or greater :3000/assets/ember.js?body=1:43 Uncaught ReferenceError: DS is not defined :3000/assets/store.js?body=1:1 Uncaught TypeError: Cannot call method 'template' of undefined :3000/assets/templates/application.js?body=1:1 Uncaught TypeError: Cannot call method 'template' of undefined :3000/assets/templates/application.js?body=1:1 Uncaught Error: <HotDoc.ApplicationView:ember138> - Unable to find template "application".
I am running Rails 3.2.6.
Any ideas how I can solve these problems? As far as I understand, ember-rails includes Handlebars code, so I don't need to add any other gems.
Did I miss something?
source share