alexspeller / emblem-rails

Emblem.js integration with rails asset pipeline
MIT License
34 stars 21 forks source link

Dependency issues with upgrading to Ember 1.0.0.rc6 #9

Closed decasia closed 11 years ago

decasia commented 11 years ago

I'm not sure there's a lot that can be done about this just yet, but in case anyone else is trying to upgrade Ember to rc6, I just wanted to note for the community that it is currently difficult to do so. The reason for this is that Ember rc6 depends on Handlebars 1.0.0, but Handlebars 1.0.0 hasn't (yet) been released as a gem, and Barber, which Emblem Rails depends on for precompiling templates, therefore can't use anything newer than the latest gem release of Handlebars (1.0.0.rc4). I would recommend that other people using Emblem not upgrade until an updated Handlebars gem has been released.

See here for confusion about releasing an updated version of Handlebars: https://github.com/wycats/handlebars.js/issues/548

See also the current Barber dependencies on Handlebars: https://github.com/tchak/barber/blob/master/barber.gemspec

I personally found this confusing because it is possible to install Handlebars 1.0.0 from source in your application, which will handle the Ember dependency, but unfortunately won't do anything to handle the Barber dependency.

alexspeller commented 11 years ago

The handlebars gem has now been updated.