Skip to content
This repository has been archived by the owner on Nov 11, 2023. It is now read-only.

Unknown Cop Error #48

Open
estiens opened this issue Jun 8, 2018 · 1 comment
Open

Unknown Cop Error #48

estiens opened this issue Jun 8, 2018 · 1 comment

Comments

@estiens
Copy link

estiens commented Jun 8, 2018

When I run from the command line everything is fine

$ which rubocop
/Users/estiens/.rbenv/shims/rubocop

$ rubocop -v
0.57.1

$ /Users/estiens/.rbenv/shims/rubocop --auto-correct
Inspecting 5 files
.....
5 files inspected, no offenses detected

$ rubocop --auto-correct
Inspecting 5 files
.....
5 files inspected, no offenses detected

However inside Atom I get
screen shot 2018-06-08 at 3 54 51 pm

and it won't run. This is true whether I use rubocop or /Users/estiens/.rbenv/shims/rubocop as my command

@estiens
Copy link
Author

estiens commented Jun 8, 2018

(if I change my global rbenv settings to the version of ruby with the upgraded version of rubocop, it works fine -- so it appears even though it is using the shim, it is pulling from global rbenv version rather than local version)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant