Faster RuboCop runs for Rails apps

This page summarizes the projects mentioned and recommended in the original post on dev.to

Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.
www.scoutapm.com
featured
InfluxDB - Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com
featured
  • gel

    A modern gem manager: Gel is a lightweight alternative to Bundler

    That could be explained by the fact that Bundler has to verify the Gemfile.lock file consistency (all the gems are installed). Thus, that's an expected behaviour (that doesn't mean we shouldn't try to improve it; see, for example, Matthew Draper's Gel).

  • Scout Monitoring

    Performance metrics and, now, Logs Management Monitoring with Scout Monitoring. Get early access to Scout Monitoring's NEW Ruby logging feature [beta] by signing up now. Start for free and enable logs to get better insights into your Rails apps.

    Scout Monitoring logo
  • rubocop

    A Ruby static code analyzer and formatter, based on the community Ruby style guide.

    Rails developers usually put all the deps in the Gemfile, including dev tools, such as RuboCop. RuboCop is a linter, and linters must be fast. RuboCop itself complies with this statement but running it via Bundler may not.

  • AnyCable

    AnyCable for Ruby applications

    I've been using this technique for a long time for gems development—to speed up CI RuboCop runs (by installing only the linter dependencies). Here is my typical rubocop.gemfile:

  • rubygems

    Library packaging and distribution for Ruby.

    # gemfiles/rubocop.gemfile source "https://rubygems.org" do gem "rubocop-md", "~> 1.0" gem "rubocop-rspec" gem "standard", "~> 1.0" end

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Any performance/memory issue with Ruby 3.x compared to 2.7?

    7 projects | /r/ruby | 30 Mar 2022
  • Show HN: AnyCable – real-time for Next.js, open source alternative to PaaS

    3 projects | news.ycombinator.com | 6 Nov 2023
  • AnyCable v1.3: embedded NATS, StatsD, and more

    1 project | /r/ruby | 1 Mar 2023
  • Action cable or AJAX? Performance and solution - what to choose?

    1 project | /r/rails | 26 Mar 2022
  • Kubing Rails: stressless Kubernetes deployments with Kuby

    2 projects | /r/ruby | 30 Nov 2021

Did you konow that Ruby is
the 12th most popular programming language
based on number of metions?