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

FileAPI.min.js not in UTF-8 format (breaking in rails for rake assets:precompile) #192

Closed
cthorner opened this issue Apr 15, 2014 · 2 comments

Comments

@cthorner
Copy link

I'm getting an error when precompiling in rails. Looks like the problem is with the FileAPI.min.js file encoding. Here is the error from the rake assets:precompile command:

Sprockets::EncodingError: /tmp/build_f048de32-05bd-4800-9dc1-d30757e6df3a/vendor/bundle/ruby/2.0.0/gems/rails-assets-ng-file-upload-1.3.1/vendor/assets/javascripts/ng-file-upload/FileAPI.min.js has a invalid UTF-8 byte sequence

Looking at the file, we confirm that:

file FileAPI.min.js
FileAPI.min.js: Non-ISO extended-ASCII text, with very long lines

I confirmed that changing the encoding to UTF-8 fixed the issue.

@danialfarid
Copy link
Owner

The encoding should be fixed at version 1.4.0

@danialfarid
Copy link
Owner

Thanks for reporting

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

No branches or pull requests

2 participants