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

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

atom-beautify

保存代码后报错如下:

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

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

Executables
/Users/XXX/.rvm/gems/ruby-xxx/bin/rubocop替换为/Users/XXX/.rvm/gems/ruby-xxx/wrappers/rubocop即可。

rubocop

猜你喜欢

转载自blog.csdn.net/lissdy/article/details/80054014