You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run atom-beautify using rubocop, I get the following error
Full error message:
See rubocop installation instructions at https://github.com/Glavin001/atom-beautify#beautifiers or go to http://rubocop.readthedocs.io/en/latest/installation/
You can configure Atom Beautify with the absolute path to 'rubocop' by setting 'Executable - Rubocop - Path' in the Atom Beautify package settings.
Your program is properly installed if running 'which rubocop' in your Terminal returns an absolute path to the executable.
Description
When trying to run atom-beautify using rubocop, I get the following error
Full error message:
I am using chruby: https://github.com/postmodern/chruby with ruby version 2.6.3 and rubocop 0.74.0.
Environment output:
Atom
process.env
output has path as:"/Users/mamuller/.toolbox/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS:/Users/mamuller/.toolbox/bin"
with no GEM_HOME/GEM_PATH/GEM_ROOT set.
When running Atom via CLI,
process.env
reports the path to be:"/Users/mamuller/.toolbox/bin:/Users/mamuller/.gem/ruby/2.6.3/bin:/Users/mamuller/.rubies/ruby-2.6.3/lib/ruby/gems/2.6.0/bin:/Users/mamuller/.rubies/ruby-2.6.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Wireshark.app/Contents/MacOS"
as well as GEM_HOME/GEM_PATH/GEM_ROOT being set correct.
The linter-rubocop plugin works correctly (started by CLI or by Mac dock) using the command:
/usr/local/bin/chruby-exec ruby -- rubocop
Input Before Beautification / # Expected Output / # Actual Output
These sections do not apply.
Steps to Reproduce
Atom Beautify: Beautify Editor
Debug
Here is a link to the
debug.md
Gist: https://gist.github.com/mullermp/a65a2ad60624cbe1e5ccdf96f9b6e185Checklist
I have:
so I know this is not a duplicate issue
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issueThe text was updated successfully, but these errors were encountered: