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

unexpected token: operator (<) when precompiling #4

Open
jpaas opened this issue Dec 21, 2012 · 2 comments
Open

unexpected token: operator (<) when precompiling #4

jpaas opened this issue Dec 21, 2012 · 2 comments

Comments

@jpaas
Copy link

jpaas commented Dec 21, 2012

I am getting the following

$ bin/rake assets:precompile
/Users/jpaas/.rvm/rubies/ruby-1.9.3-p327/bin/ruby bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
rake aborted!
Unexpected token: operator (<) (line: 18169, col: 1, pos: 543284)

undefined

My project only has 1 dust template and this error goes away as soon as I remove it from the application.js manifest. So whatever it's generating, precompile doesn't like it.

This is pretty serious problem because I can't deploy to heroku without precompilation. :(

@jpaas
Copy link
Author

jpaas commented Dec 21, 2012

Just as follow-up, I tried dust_assets, and it works.

@caio-ribeiro-pereira
Copy link

Hi, I am having the same problems on Heroku, and I would like to know how to fix it, because your gem is easier than dust_assets.
And I forked it and update the dust.js to the latest 1.2.5 version but I can't run it well :(

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

2 participants