GithubHelp home page GithubHelp logo

Comments (7)

perlun avatar perlun commented on August 17, 2024

Have you tried doing what it tells you, i.e. gem install rubocop?

from linter-rubocop.

thegreyfellow avatar thegreyfellow commented on August 17, 2024

hello, I have the same issue, I've installed the linter the command was there I've used it one time then it just disappeared! I just don't know what happened !! I tried to uninstall and install the plug-in many times but it didn't work.

from linter-rubocop.

Arcanemagus avatar Arcanemagus commented on August 17, 2024

@greyfellow What do you get from running the following in a terminal / command prompt:

  • If you are on Linux / OSX: which rubocop
  • If you are on Windows: where.exe rubocop

from linter-rubocop.

thegreyfellow avatar thegreyfellow commented on August 17, 2024

after running which rubocop it gave me this "/usr/local/bin/rubocop", and its the path I am using in the plugin settings. I use rbenv and I am on Ubuntu 14.04. my question is does the linter come with a commande to apply rubocop on files or does it just lint the file because for the linting part I have no issue ? and forgive me I miss understood the issue I am having 😞

from linter-rubocop.

Arcanemagus avatar Arcanemagus commented on August 17, 2024

This package runs rubocop on the currently open file(s), transforms the output into a format the linter package understands, and sends those messages off to it for display.

Are you getting an error message every time you edit/save the file saying rubocop isn't found or... what?

Also generally when using rbenv you need to create a wrapper script as it usually relies on shell macro scripts to work properly... which only work when running from a shell and not when run from in a program.

from linter-rubocop.

thegreyfellow avatar thegreyfellow commented on August 17, 2024

after trying again everything works well actually everything was already well it is me who didn't understand fully the workings of the linter, I apologies for this miss understanding and thanks a lot guys for the explanation :).

from linter-rubocop.

Arcanemagus avatar Arcanemagus commented on August 17, 2024

Glad to hear you got it figured out 😉.

from linter-rubocop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.