Open PikachuEXE opened 11 years ago
I have the same problem right now, I can't understand if it is rails_admin
issue (see https://github.com/sferik/rails_admin/wiki/Troubleshoot#other-issues). If I disable turbo-sprockets-rails3 the assets:precompile
task runs smoothly.
Hey, I think this was caused by a recent commit. Please try updating to 0.3.9
and let me know if that fixes it.
Problem solved! Thank you very much!
I am still seeing a similar error, in v0.3.10:
$ bundle exec rake assets:precompile
rake aborted!
invalid byte sequence in UTF-8
[...]/bundle/ruby/1.9.1/gems/turbo-sprockets-rails3-0.3.10/lib/sprockets/static_non_digest_generator.rb:46:in `gsub!'
[...]/bundle/ruby/1.9.1/gems/turbo-sprockets-rails3-0.3.10/lib/sprockets/static_non_digest_generator.rb:46:in `block in generate'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:219:in `block in each_logical_path'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:206:in `block (2 levels) in each_file'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:196:in `each_entry'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:204:in `block in each_file'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:203:in `each_file'
[...]/bundle/ruby/1.9.1/gems/sprockets-2.2.2/lib/sprockets/base.rb:217:in `each_logical_path'
[...]/bundle/ruby/1.9.1/gems/turbo-sprockets-rails3-0.3.10/lib/sprockets/static_non_digest_generator.rb:29:in `generate'
[...]/bundle/ruby/1.9.1/gems/turbo-sprockets-rails3-0.3.10/lib/turbo-sprockets/tasks/assets.rake:99:in `internal_precompile'
[...]/bundle/ruby/1.9.1/gems/turbo-sprockets-rails3-0.3.10/lib/turbo-sprockets/tasks/assets.rake:119:in `block (3 levels) in <top (required)>'
[...]/bundle/ruby/1.9.1/gems/turbo-sprockets-rails3-0.3.10/lib/turbo-sprockets/tasks/assets.rake:35:in `invoke_or_reboot_rake_task'
[...]/bundle/ruby/1.9.1/gems/turbo-sprockets-rails3-0.3.10/lib/turbo-sprockets/tasks/assets.rake:50:in `block (2 levels) in <top (required)>'