Skip to content

[BBC's Wraith]: No implicit conversion of string into integer #629

@Montana

Description

@Montana

Hey folks,

I run capture, these are my results:

/Users/montana/wraith/lib/wraith/wraith.rb:172:in `[]': no implicit conversion of String into Integer (TypeError)
    from /Users/montana/wraith/lib/wraith/wraith.rb:172:in `verbose'
    from /Users/montana/wraith/lib/wraith/wraith.rb:11:in `initialize'
    from /Users/montana/wraith/lib/wraith/validate.rb:10:in `new'
    from /Users/montana/wraith/lib/wraith/validate.rb:10:in `initialize'
    from /Users/montana/wraith/lib/wraith/cli.rb:132:in `new'
    from /Users/montana/wraith/lib/wraith/cli.rb:132:in `block in capture'
    from /Users/montana/wraith/lib/wraith/cli.rb:28:in `within_acceptable_limits'
    from /Users/montana/wraith/lib/wraith/cli.rb:131:in `capture'
    from /Users/montana/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
    from /Users/montana/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/montana/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
    from /Users/montana/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
    from /Users/montana/.rvm/gems/ruby-2.2.1@global/gems/wraith-3.1.2/bin/wraith:5:in `<top (required)>'
    from /Users/montana/.rvm/rubies/ruby-2.2.1/bin/wraith:23:in `load'
    from /Users/montana/.rvm/rubies/ruby-2.2.1/bin/wraith:23:in `<main>'
    from /Users/montana/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
    from /Users/montana/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'

I've looked at this:

if %w(diffs_only diffs_first alphanumeric).include?(@config["mode"])
I then tried to debug, but still nothing. So then I added an export to my bashrc and yet still no luck, any ideas?

export PATH=/Users/User_Name/.rvm/gems/ruby-2.3.0/bin/wraith:$PATH

Cheers,
Montana Mendy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions