Im very desparate with this problem - trying to solve it for the last 4 hours but not way .. :/
I just created a new rails project with following gems:
gem 'rails', '4.2.4'
gem 'sass-rails', '~> 5.0'
gem 'jquery-rails'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0'
gem 'mongoid', '~> 5.0.0'
gem 'ember-rails'
gem 'ember-source' , '2.0.0'
gem 'handlebars-source', '2.0.0'
gem 'barber' , '~> 0.8.0'
Since run rails server i got this precompiler error:
Pre compilation failed for:
. Compiler said: Error: no global: 'self' or 'global' found
As soon as i delete my only template i got in my ember directory (application.hbs) no errors occure. I suppose it doesnt bind my handlebar templates the right way. Any hints to solve this?
Aucun commentaire:
Enregistrer un commentaire