Closed cj closed 11 years ago
So when I run: rake assetpack:build it errors once it gets to the images:
rake assetpack:build
+ /public/images/bootstrap/glyphicons-halflings-white.png + /public/images/bootstrap/glyphicons-halflings-white.454648.png DEBUG - GET (0.1302ms) /images/bootstrap/glyphicons-halflings.png - 200 OK + /public/images/bootstrap/glyphicons-halflings.png rake aborted! "\x89" from ASCII-8BIT to UTF-8 /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bundler/gems/sinatra-assetpack-ab2a41302609/lib/sinatra/assetpack/options.rb:258:in `write' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bundler/gems/sinatra-assetpack-ab2a41302609/lib/sinatra/assetpack/options.rb:258:in `block in write' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bundler/gems/sinatra-assetpack-ab2a41302609/lib/sinatra/assetpack/options.rb:258:in `open' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bundler/gems/sinatra-assetpack-ab2a41302609/lib/sinatra/assetpack/options.rb:258:in `write' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bundler/gems/sinatra-assetpack-ab2a41302609/lib/sinatra/assetpack/options.rb:200:in `block in build!' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bundler/gems/sinatra-assetpack-ab2a41302609/lib/sinatra/assetpack/options.rb:197:in `each' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bundler/gems/sinatra-assetpack-ab2a41302609/lib/sinatra/assetpack/options.rb:197:in `build!' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/sinatra-assetpack-0.0.10/lib/sinatra/assetpack/rake.rb:25:in `block (2 levels) in <top (required)>' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain' /Users/cj/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bin/rake:19:in `load' /Users/cj/.rvm/gems/ruby-1.9.3-p0@global/bin/rake:19:in `<main>' Tasks: TOP => assetpack:build
Reproduced with this image :
@cj fixed on my fork https://github.com/hooktstudios/sinatra-assetpack
Fixed in 0.1.0 by merge #67
So when I run:
rake assetpack:build
it errors once it gets to the images: