railsdog/deface — Issue #19: invalid multibyte char (US-ASCII)
Author: dcrec1
Created: 2012-01-20 00:14:19+00:00
State: open

Hi,

I have in Spree an override like this:

Deface::Override.new replace: "#footer-left",
text: "Copyright © 2012",
name: "footer"

When trying to start the server I get:

app/overrides/spree_application.rb:4: invalid multibyte char (US-ASCII)
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `block in load'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:234:in `load'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/bundler/gems/deface-7d097c794fec/lib/deface/environment.rb:52:in `block (2 levels) in enumerate_and_load'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/bundler/gems/deface-7d097c794fec/lib/deface/environment.rb:51:in `glob'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/bundler/gems/deface-7d097c794fec/lib/deface/environment.rb:51:in `block in enumerate_and_load'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/bundler/gems/deface-7d097c794fec/lib/deface/environment.rb:50:in `each'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/bundler/gems/deface-7d097c794fec/lib/deface/environment.rb:50:in `enumerate_and_load'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/bundler/gems/deface-7d097c794fec/lib/deface/environment.rb:27:in `load_all'
from /Users/dcrec1/.rvm/gems/ruby-1.9.3-p0/bundler/gems/deface-7d097c794fec/lib/deface/railtie.rb:12:in `activate'