Shopify / Shopify/app_profiler

Chore - Set dependabot ruby version

Open
#125 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
268
Forks
14
Avg merge
1h 9m
Merged PRs (30d)
1

Description

Dependabot was failing on main due to the requirement of having vernier in the main Gemfile, but dependabot runs with an anciet ruby (2.7.X)

To avoid this, vernier is only added as a dependency if the ruby version is new enough:

https://github.com/Shopify/app_profiler/pull/124

But we added separate Gemfiles for legacy rubys and modern ones to avoid this exact problem.

It would be ideal to set the Ruby version used by dependabot somehow, since it seems to ignore .ruby-version.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the repository's .ruby-version and the separate Gemfiles for legacy and modern Rubies, then inspect how Dependabot selects its Ruby runtime. Compare that behavior with the failure described and PR #124. Done means Dependabot uses a supported Ruby version and no longer fails because of the vernier dependency.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.