{"id":3357,"date":"2014-03-23T11:23:15","date_gmt":"2014-03-23T11:23:15","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/handlebars-precompile-version-error-with-ember-rc1-collection-of-common-programming-errors\/"},"modified":"2014-03-23T11:23:15","modified_gmt":"2014-03-23T11:23:15","slug":"handlebars-precompile-version-error-with-ember-rc1-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/handlebars-precompile-version-error-with-ember-rc1-collection-of-common-programming-errors\/","title":{"rendered":"Handlebars precompile version error with Ember rc1-Collection of common programming errors"},"content":{"rendered":"<p>This was caused by <code>barber<\/code> gem which is using handlebars rc2 for template precompilation. I&#8217;ve made a pull request which fixes it. If you need this working now, you can just use my fork \ud83d\ude42<\/p>\n<h3>Update: instructions for using darthdeus fork:<\/h3>\n<p>1) Add the following to your Gemfile:<\/p>\n<pre><code>gem \"barber\", :git =&gt; \"git:\/\/github.com\/darthdeus\/barber.git\", :branch =&gt; \"update-handlebars-to-rc3\"\n<\/code><\/pre>\n<p>2) Clear your tmp dir<\/p>\n<pre><code>rm -rf tmp\n<\/code><\/pre>\n<p>3) Restart your server<\/p>\n<p><strong>edit:<\/strong> for future readers the changes have been merged now, so using a master branch from the official repo should work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was caused by barber gem which is using handlebars rc2 for template precompilation. I&#8217;ve made a pull request which fixes it. If you need this working now, you can just use my fork \ud83d\ude42 Update: instructions for using darthdeus fork: 1) Add the following to your Gemfile: gem &#8220;barber&#8221;, :git =&gt; &#8220;git:\/\/github.com\/darthdeus\/barber.git&#8221;, :branch =&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3357","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3357"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3357\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}