-
Notifications
You must be signed in to change notification settings - Fork 68
Error '-s/--stdin requires exactly one path' #78
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
Comments
Im having this same issue.
|
I have this problem too |
The problem seems to be caused when you install rubocop using Bundler. Initially, (as per the instructions on the project's homepage) I had the following in my gem 'rubocop', '~> 0.62.0', require: false When I removed this line from the gem install rubocop The error went away. |
I have the following error:
|
Look for a |
I was getting the same error @luciuschoi mentioned. In my case it was happening because I moved a project into an iCloud folder on MacOS. The full path had unescaped, special characters in it. It included a space ( I resolved it simply by moving the project back out of my iCloud drive, but I thought this was worth mentioning. |
Thank you @flipsasser !!! I wasted four hours today when all I had to do was rename the root of my project from .../Rails Programs to .../RailsPrograms |
Error stacktrace:
/Users/lucian/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubocop-0.56.0/lib/rubocop/options.rb:29:in
parse' /Users/lucian/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubocop-0.56.0/lib/rubocop/cli.rb:37:inrun' /Users/lucian/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubocop-0.56.0/bin/rubocop:13:in
block in <top (required)>' /Users/lucian/.rbenv/versions/2.5.1/lib/ruby/2.5.0/benchmark.rb:308:inrealtime' /Users/lucian/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/rubocop-0.56.0/bin/rubocop:12:in
<top (required)>' /Users/lucian/.rbenv/versions/2.5.1/bin/rubocop:23:inload' /Users/lucian/.rbenv/versions/2.5.1/bin/rubocop:23:in
<top (required)>' /Users/lucian/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:inload' /Users/lucian/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in
kernel_load' /Users/lucian/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/ge...`
My environment:
The text was updated successfully, but these errors were encountered: