Skip to content
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

Not working on Heroku with Rails 3.1 #36

Closed
runemadsen opened this issue Oct 2, 2012 · 1 comment
Closed

Not working on Heroku with Rails 3.1 #36

runemadsen opened this issue Oct 2, 2012 · 1 comment

Comments

@runemadsen
Copy link

I'm running this successfully on local, but when pushing to Heroku, I'm getting:

couldn't find file 'handlebars.runtime'

If I add the handlebars.runtime in my libaries, it says that HandlebarsTemplates is undefined. So it seems like the gem is not working at all.

Any tips for fixes? Running Rails 3.1.

@runemadsen
Copy link
Author

Okay, here's the answer: I had changed the name of application.js to shared.js, and Rails would not precompile the file. I added the name to the configuration precompile array, and it's working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant