-
Notifications
You must be signed in to change notification settings - Fork 5
Reek works from command line, but errors in the context of the editor #105
Comments
@joshminnie Did you by chance install Mac OS High Sierra right before this started happening? For me it's happening with any ruby shell script. foo.rb #!/usr/bin/ruby
After uninstalling each gem, and reinstalling as needed I'm down to this:
|
@duffyjp I am currently on Sierra, it's been happening for a while and I've been attempting to fix it through various cleanups. I even went so far as to uninstall all my rubies and gemsets. Which is why I'm at a loss for the difference. |
I figured out what the problem was. I'm not sure this is the right solution, but my system default ruby was 2.4.0, while the ruby for the project I was in was 2.2.2. Once I switched my system default ruby to 2.2.2, it worked again. I did not have executable path defined in Atom settings because I thought using the command |
gem pristine --all |
I've been racking my brain trying to figure out why this occurs, but whenever I linter-reek is enabled within Atom, it errors out constantly with a series of "extensions are not built" messages.
Background and things I've tried:
/Users/josh/.rvm/gems/ruby-2.2.2/bin/reek
. Running specifically in the default ruby/gemset, which would call on this pass when I callreek
from the command line works fine.The text was updated successfully, but these errors were encountered: