Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a build error when using Ruby 2.6 runtime #263

Merged
merged 1 commit into from
May 2, 2023

Commits on May 2, 2023

  1. Fix a build error when using Ruby 2.6 runtime

    The master brach of RuboCop has been dropped Ruby 2.6 runtime support.
    rubocop/rubocop#11791
    
    This PR fixes the following build error:
    
    ```
    Run cd ../rubocop && bundle install --jobs 3 --retry 3
    Your RubyGems version (3.0.3.1) has a bug that prevents `required_ruby_version` from working for Bundler.
    Any scripts that use `gem install bundler` will break as soon as Bundler drops support for your Ruby version.
    Please upgrade RubyGems to avoid future breakage and silence this warning by running `gem update --system 3.2.3`
    Fetching gem metadata from https://rubygems.org/..........
    Resolving dependencies...
    Could not find compatible versions
    
    Because every version of rubocop depends on Ruby >= 2.7.0
    and Gemfile depends on rubocop >= 0,
    Ruby >= 2.7.0 is required.
    So, because current Ruby version is = 2.6.10,
    version solving has failed.
    ```
    
    https://github.com/rubocop/rubocop-ast/actions/runs/4857086508/jobs/8657259864
    koic committed May 2, 2023
    Configuration menu
    Copy the full SHA
    00d73b1 View commit details
    Browse the repository at this point in the history