0

遵循Atom的指导方针。

我已经成功安装gem rubocoplinter-rubocop插件,现在我正在尝试将它配置到 Atom 编辑器中,但是我遇到了这个错误

我在终端上按照以下步骤操作:

Dharmeshs-MacBook-Pro:~ dR$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
Dharmeshs-MacBook-Pro:~ dR$ gem install rubocop
Successfully installed rubocop-0.40.0
Parsing documentation for rubocop-0.40.0
Done installing documentation for rubocop after 5 seconds
1 gem installed
Dharmeshs-MacBook-Pro:~ dR$ apm install linter-rubocop
Installing linter-rubocop to /Users/dR/.atom/packages ✓
Dharmeshs-MacBook-Pro:~ dR$ which rubocop
/Users/dR/.rvm/gems/ruby-2.3.0/bin/rubocop
Dharmeshs-MacBook-Pro:~ dR$ rbenv which rubocop
/Users/dR/.rvm/gems/ruby-2.3.0/bin/rubocop
Dharmeshs-MacBook-Pro:~ dR$

然后在我尝试linter-rubocop通过编辑~/.atom/config.cson进行配置之后。接下来我得到这个错误:

在此处输入图像描述

请指导我配置它。谢谢。

4

0 回答 0