Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Montana opened this issue Feb 15, 2022 · 1 comment
Open

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

Montana opened this issue Feb 15, 2022 · 1 comment

Comments

@Montana
Copy link

Montana commented Feb 15, 2022

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

@Montana
Copy link
Author

Montana commented Apr 18, 2022

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant