minivan / middleman-spellcheck

Run a spell checking job through aspell every time you build with middleman.
MIT License
13 stars 10 forks source link

Can't start middleman server due to encoding issue in middleman-spellcheck #6

Open virajsanghvi opened 10 years ago

virajsanghvi commented 10 years ago

I get an error while running this out of the box on a mac:

/middleman-spellcheck-0.7.2/lib/middleman-spellcheck/spellchecker.rb:24: invalid multibyte char (US-ASCII) (SyntaxError)

Adding the following at the top of that file seems to solve that problem:

# encoding: utf-8
ludwigschubert commented 9 years ago

:+1: get the same, though on travis CI.

zealot128 commented 8 years ago

what Ruby version did you use? From Ruby 2.1 or so, encoding utf-8 is assumed as default AFAIK. Only 1.9 needs the encoding header. Please also try to update middleman-spellcheck to current version 0.8.

ludwigschubert commented 8 years ago

@zealot128 that's probably it, I'll check. Thanks!

ludwigschubert commented 8 years ago

Updating to Ruby 2.2 fixed this issue for me. Imho can be closed, @zealot128. Might want to mention the ruby version dependency somewhere, though? Thanks for your help!

wkoszek commented 8 years ago

@zealot128 We should close this one.