Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App from app template complains of mismatched ember-data and compiled templates #465

Closed
IamNaN opened this issue Mar 31, 2015 · 4 comments · Fixed by #466
Closed

App from app template complains of mismatched ember-data and compiled templates #465

IamNaN opened this issue Mar 31, 2015 · 4 comments · Fixed by #466
Assignees

Comments

@IamNaN
Copy link

IamNaN commented Mar 31, 2015

Trying to work through getting an ember-rails app working from scratch. Following the readme I run:

rails new myapp -m http://emberjs.com/edge_template.rb
cd myapp
rake db:create
rails generate ember:install
rake tmp:clear # to be thorough
rails s

Since this is straight out-of-the-box generated app at this point, I'd expect to see app/assets/javascript/template/index.js.handlebars when I visit localhost:3000. However, it doesn't and the following javascript console has this error:

screen shot 2015-03-31 at 1 02 37 pm

I'm pretty sure 1.11.0 is higher than 1.8.0.

Also, the last error regarding mismatched compiled templates seems separate.

@tricknotes
Copy link
Member

Thanks @IamNaN .
This issue has some causes:

For temporary workaround, you can use release build of Ember.

$ curl http://builds.emberjs.com/tags/v1.11.0/ember.debug.js > vendor/assets/ember/development/ember.js
$ curl http://builds.emberjs.com/tags/v1.11.0/ember.prod.js > vendor/assets/ember/production/ember.js

@tricknotes
Copy link
Member

Ember Rails couldn't precompile templates with vendor assets.

This should be solved in barber. tchak/barber#43
I'll fix it tonight.

@tricknotes
Copy link
Member

Ember Data couldn't check Ember version with some suffix correctly. -> emberjs/data#2965

This issue was fixed but not yet released.
To avoid, you can use release channel of Ember or canary channel of Ember Data.

Ember Rails couldn't precompile templates with vendor assets. (It will keep tracking on this issue)

This issues was fixed on [email protected].

@IamNaN
Copy link
Author

IamNaN commented Apr 3, 2015

At the risk of adding length to this issue, I want to thank you for the updates, work-around info, and generally keeping the ember-rails project going so well like this. Cheers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants