title: Cucumber fails with json Encoding::InvalidByteSequenceError
body: <p>I'm using rvm 1.15.6 and ruby-1.9.3-p194.</p>
  
  <p>I've created a new Rails application with the following gems:</p>
  
  <pre><code>source 'https://rubygems.org'
  gem 'rails', '3.2.8'
  gem 'sqlite3'
  group :assets do
    gem 'sass-rails',   '~&gt; 3.2.3'
    gem 'coffee-rails', '~&gt; 3.2.1'
    gem 'uglifier', '&gt;= 1.0.3'
  end
  gem 'jquery-rails'
  gem "rspec-rails", "&gt;= 2.10.1", :group =&gt; [:development, :test]
  gem "factory_girl_rails", "&gt;= 3.3.0", :group =&gt; [:development, :test]
  gem "cucumber-rails", "&gt;= 1.3.0", :group =&gt; :test, :require =&gt; false
  gem "capybara", "&gt;= 1.1.2", :group =&gt; :test
  gem "database_cleaner", "&gt;= 0.7.2", :group =&gt; :test
  </code></pre>
  
  <p>When I run:</p>
  
  <pre><code>bundle exec cucumber
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>json-1.7.5/lib/json/common.rb:155:in `encode': "\xD8" on US-ASCII (Encoding::InvalidByteSequenceError)
  </code></pre>
  
  <p>Here's the full trace:</p>
  
  <pre><code>/Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/json-1.7.5/lib/json/common.rb:155:in `encode': "\xD8" on US-ASCII (Encoding::InvalidByteSequenceError)
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/json-1.7.5/lib/json/common.rb:155:in `initialize'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/json-1.7.5/lib/json/common.rb:155:in `new'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/json-1.7.5/lib/json/common.rb:155:in `parse'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/gherkin-2.11.2/lib/gherkin/i18n.rb:14:in `&lt;class:I18n&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/gherkin-2.11.2/lib/gherkin/i18n.rb:6:in `&lt;module:Gherkin&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/gherkin-2.11.2/lib/gherkin/i18n.rb:5:in `&lt;top (required)&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/gherkin-2.11.2/lib/gherkin/lexer/i18n_lexer.rb:1:in `require'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/gherkin-2.11.2/lib/gherkin/lexer/i18n_lexer.rb:1:in `&lt;top (required)&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/gherkin-2.11.2/lib/gherkin.rb:1:in `require'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/gherkin-2.11.2/lib/gherkin.rb:1:in `&lt;top (required)&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/cucumber-1.2.1/lib/cucumber/cli/main.rb:2:in `require'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/cucumber-1.2.1/lib/cucumber/cli/main.rb:2:in `&lt;top (required)&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/cucumber-1.2.1/bin/cucumber:11:in `require'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/gems/cucumber-1.2.1/bin/cucumber:11:in `&lt;top (required)&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/bin/cucumber:19:in `load'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/bin/cucumber:19:in `&lt;main&gt;'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/bin/ruby_noexec_wrapper:14:in `eval'
      from /Users/danielkehoe/.rvm/gems/ruby-1.9.3-p194@rails328/bin/ruby_noexec_wrapper:14:in `&lt;main&gt;'
  </code></pre>
  
  <p>I'm mystified. Any solution or suggestions for troubleshooting?</p>
  
  <p>EDIT: This is without creating any Cucumber feature files. I get the same thing if I create feature files.</p>