欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Could not find proper version of rubocop (0.41.2) in any of the sources

程序员文章站 2022-05-02 08:47:51
...

安装rubocop后,为atom-beautify进行ruby相关配置如下:

Could not find proper version of rubocop (0.41.2) in any of the sources

保存代码后报错如下:

Could not find proper version of rubocop (0.41.2) in any of the sources

解决方法:
Setting => Executables => Rubocop

Could not find proper version of rubocop (0.41.2) in any of the sources
/Users/XXX/.rvm/gems/ruby-xxx/bin/rubocop替换为/Users/XXX/.rvm/gems/ruby-xxx/wrappers/rubocop即可。

Could not find proper version of rubocop (0.41.2) in any of the sources

相关标签: atom