johnbintz / jasmine-headless-webkit

This project is dead. You should use Karma instead. I do.
http://karma-runner.github.io/
195 stars 99 forks source link

Incorrect encoding issue on beautify-html.js #100

Open johnbintz opened 12 years ago

johnbintz commented 12 years ago

Today's fun fact: if you're running jasmine-headless-webkit through multi-term.el in Aquamacs (native port of Emacs to Mac OS X), you might see the following error: duncan$ bundle exec jasmine-headless-webkit /Users/duncan/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.4/lib/rack/backports/uri/common192.rb:53: warning: already initialized constant WFKV [jasmine-headless-webkit] /Users/duncan/.rvm/gems/ruby-1.9.2-p290/bundler/gems/jasmine-headless-webkit-00468fc1b3b7/vendor/assets/javascripts/beautify-html.js has a invalid US-ASCII byte sequence (Sprockets::EncodingError)

/Users/duncan/.rvm/gems/ruby-1.9.2-p290/gems/sprockets-2.0.1/lib/sprockets/utils.rb:18:in `block in read_unicode' This is because multi-term doesn't load all the normal Bash config files on OSX (why????). The fix is: duncan$ export LANG=en_AU.UTF-8 duncan$ be jasmine-headless-webkit /Users/duncan/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.4/lib/rack/backports/uri/common192.rb:53: warning: already initialized constant WFKV Running Jasmine specs... .............. PASS: 14 tests, 0 failures, 0.038 secs. Test ordering seed: --seed 1857

gicappa commented 12 years ago

+1

renatovico commented 12 years ago

+1

zane commented 11 years ago

+1