Atom编辑器:linter-rubocop插件配置错误

时间:2016-06-07 03:28:18

标签: ruby plugins atom-editor rubocop

根据 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$

然后我尝试通过编辑〜/ .atom / config.cson 来配置 linter-rubocop 。接下来我收到此错误:

enter image description here

请指导我配置它。感谢。

0 个答案:

没有答案