Invalid multibyte char (US-ASCII) on 'rake spec'

(Budh Ram Gurung) #1

While running this specific spec rspec spec/components/email/receiver_spec.rb, I am getting following error:

/home/budhram/.rvm/gems/ruby-1.9.3-p429/gems/rspec-core-2.14.6/lib/rspec/core/configuration.rb:896:in `load': /home/budhram/_work/opensource/rails/discourse/spec/components/email/receiver_spec.rb:68: invalid multibyte char (US-ASCII) (SyntaxError)
/home/budhram/_work/opensource/rails/discourse/spec/components/email/receiver_spec.rb:68: invalid multibyte char (US-ASCII)
/home/budhram/_work/opensource/rails/discourse/spec/components/email/receiver_spec.rb:68: syntax error, unexpected $end, expecting ')'

It looks like some encdoing issue. How to resolve it?

(Sam Saffron) #2

Willing to bet this is a 1.9.3 issue that is not present in 2.0, @eviltrout can you confirm?

(Robin Ward) #3

Took forever to install all my gems on 1.9.3 but yes I confirmed and fixed this in master:

Sorry @ram!

(Robin Ward) #4