Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/ruby/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby Rubocop原子过滤机不工作_Ruby_Atom Editor_Rubocop_Linter - Fatal编程技术网

Ruby Rubocop原子过滤机不工作

Ruby Rubocop原子过滤机不工作,ruby,atom-editor,rubocop,linter,Ruby,Atom Editor,Rubocop,Linter,我已经在全局安装了rubocop,并检查了版本以及linter rubocop,但是当我在编辑器中打开ruby文件时,控制台中会出现以下错误: Error running RuboCop Error: -s/--stdin requires exactly one path. 我试图手动运行rubocp-s,但错误仍然存在 有什么建议吗

我已经在全局安装了rubocop,并检查了版本以及linter rubocop,但是当我在编辑器中打开ruby文件时,控制台中会出现以下错误:

Error running RuboCop Error: -s/--stdin requires exactly one path.
我试图手动运行rubocp-s,但错误仍然存在

有什么建议吗