Skip to content

Instantly share code, notes, and snippets.

@diabolo
Created August 7, 2013 12:40
Show Gist options
  • Save diabolo/6173696 to your computer and use it in GitHub Desktop.
Save diabolo/6173696 to your computer and use it in GitHub Desktop.
Stack trace showing how Cucumber loads multi_json
Users/andy/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/json/common.rb:155:in `parse': uninitialized constant JSON::Parser (NameError)
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@global/gems/multi_json-1.7.8/lib/multi_json/adapters/json_common.rb:16:in `load'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@global/gems/multi_json-1.7.8/lib/multi_json/adapter.rb:19:in `load'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@global/gems/multi_json-1.7.8/lib/multi_json.rb:118:in `load'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/gherkin-2.12.0/lib/gherkin/i18n.rb:14:in `<class:I18n>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/gherkin-2.12.0/lib/gherkin/i18n.rb:6:in `<module:Gherkin>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/gherkin-2.12.0/lib/gherkin/i18n.rb:5:in `<top (required)>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/gherkin-2.12.0/lib/gherkin/lexer/i18n_lexer.rb:2:in `require'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/gherkin-2.12.0/lib/gherkin/lexer/i18n_lexer.rb:2:in `<top (required)>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/gherkin-2.12.0/lib/gherkin.rb:1:in `require'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/gherkin-2.12.0/lib/gherkin.rb:1:in `<top (required)>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/cucumber-1.3.5/lib/cucumber/cli/main.rb:2:in `require'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/cucumber-1.3.5/lib/cucumber/cli/main.rb:2:in `<top (required)>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/cucumber-1.3.5/bin/cucumber:11:in `require'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/gems/cucumber-1.3.5/bin/cucumber:11:in `<top (required)>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/bin/cucumber:23:in `load'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/bin/cucumber:23:in `<main>'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/bin/ruby_noexec_wrapper:14:in `eval'
    from /Users/andy/.rvm/gems/ruby-2.0.0-p247@h2/bin/ruby_noexec_wrapper:14:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment