-
Notifications
You must be signed in to change notification settings - Fork 159
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
0.18 Uncaught Error: Unknown template object: function #110
Comments
I got the same error too |
Getting similar error if updating from 17.1 |
Thanks for the headsup guys, updated to handlebars 0.18 without having a rails installation handy and on the go. I will try to look into it in about 3 hours from now. |
@dbkbali @PikachuEXE @attenzione is this due to rails caching ? I can not longer replicate after cleaning my rails tmp folder. (Handlebars output from compile is different format; and its not backwards compatible). |
I will test it later, thanks for advise Sent from Nexus 5
|
Clearing the cache in development and recompiling the assets on deploy does solve it |
ok guys, clearing assets cache will resolve this problem, but i would recommend to add post comment when installing new gem version |
I am gonna think about it before closing; maybe there is some way I can notify that on a gem version change it should bump the cache version or something similar (cause this is an annoying issue for developing the plugin I have as well). |
@AlexRiedler, you can add post message to gemspec, for example "after updating gem you should run |
Just asking the user to run |
Uncaught Error: Unknown template object: function |
Does anyone know any better options? I will investigate some more when I have time. |
@tjgrathwell How'd you successfully deploy to Heroku? Thanks! |
heroku/heroku-buildpack-ruby#123 (comment) helped.
|
Still seeing this error on 0.18, clearing tmp didn't work. |
Nvm, clear tmp + touch restart.txt and there we go. |
I had the same issue with |
okay so I found a way to fix this, and will be implemented in next release! (automatically cleans cache on update of the gem). |
Wonderful, thanks Alex! On Mon, Jan 5, 2015 at 8:52 AM, Alex Riedler notifications@github.com
|
Thanks, Alex! This is great news. |
Somewhere here:
The text was updated successfully, but these errors were encountered: