Could not find proper version of

2018-04-23  本文已影响50人  李小西033

安装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即可。 image.png
上一篇 下一篇

猜你喜欢

热点阅读