You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I try to specify options result = rg.exec 'wizard', options: { color: "always" }
I tried providing always a few different ways (symbol, escaping quotes, etc).
I get an error only when specifying options. It appears that '--color always' should work with the ripgrep command so I must be missing something:
gems/ripgrep-0.1.3/lib/ripgrep/result.rb:27:in `initialize': error: Found argument '--color always' which wasn't expected, or isn't valid in this context (Ripgrep::ResultError)
Did you mean --color?
I suspect I'm doing something obviously wrong, and as such I would appreciate if examples where arguments needed to be specified (outside of boolean true/false)
I think this will show me what I'm doing wrong
Thank you for your time and providing this gem
The text was updated successfully, but these errors were encountered:
(Local and gem rg versions: 13.0.0)
When I run
rg
manually on my local machine with--color always
I get:If I try to specify options
result = rg.exec 'wizard', options: { color: "always" }
I tried providing
always
a few different ways (symbol, escaping quotes, etc).I get an error only when specifying options. It appears that '--color always' should work with the ripgrep command so I must be missing something:
I suspect I'm doing something obviously wrong, and as such I would appreciate if examples where arguments needed to be specified (outside of boolean true/false)
I think this will show me what I'm doing wrong
Thank you for your time and providing this gem
The text was updated successfully, but these errors were encountered: