Faster RuboCop runs for Rails apps

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • gel

    A modern gem manager: Gel is a lightweight alternative to Bundler (by gel-rb)

  • 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).

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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