emblem-rails icon indicating copy to clipboard operation
emblem-rails copied to clipboard

Handlebars 2.0 error

Open alexphys opened this issue 10 years ago • 7 comments

Updating in ember >= 1.9.0 beta 3 requires handlebars 2.0. Updating to latest emblem-source (3.17 or 3.18 that are supposed to support handlebars) doesn't seem to work with it. Im getting errors module is not defined in every .emblem file.

alexphys avatar Dec 02 '14 10:12 alexphys

Any progress on this?

Eptis avatar Dec 16 '14 16:12 Eptis

same here. Is there a workaround?

MichaelSp avatar Jan 10 '15 17:01 MichaelSp

I was able to get emblem-rails working with ember 1.9. The issue is not in this codebase, but in two other related repos: emblem-source and barber-emblem. emblem-source needed to be bumped to master, and barber-emblem needed to be pointed to a fork.

# Gemfile
gem "emblem-source", github: "machty/emblem.js"
gem "barber-emblem", github: "simcha/barber-emblem"

As an aside, it looks like machty is not able to support these gems anymore, and is looking for new maintainers.

botandrose avatar Jan 10 '15 18:01 botandrose

Thanks @botandrose, I will add this to the readme

alexspeller avatar Jan 10 '15 18:01 alexspeller

@alexspeller @botandrose it should work with "machty/barber-emblem"; I merged simcha's PR and pushed 0.1.2 of barber-emblem

machty avatar Jan 12 '15 13:01 machty

Can this issue be closed with these latest pushes?

machty avatar Jan 12 '15 14:01 machty

Almost, not quite... need a new release of emblem-source too.

botandrose avatar Jan 12 '15 20:01 botandrose