I have an error within RubyMine that RuboCop cannot execute, it displays this message:
Error:/home/daniel/.asdf/installs/ruby/2.7.8/bin/ruby: no Ruby script found in input (LoadError)
I've tried everything.
I also noticed that sometimes this same message happens with rake.
I'm on Kubuntu 22.04 using
- asdf
- ruby 2.7.8
- rails 6.0.2.1
I'm running RubyMine directly through the ./rubymine.sh terminal to get some environment variables.
I hope you can run RuboCop in RubyMine.