Skip to content

Add --offline to bundle_report compatibility - #201

Merged
JuanVqz merged 3 commits into
mainfrom
feature/bundle-report-offline
Oct 12, 2026
Merged

JuanVqz merged 3 commits into
mainfrom
feature/bundle-report-offline

Conversation

@JuanVqz

@JuanVqz JuanVqz commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

We can check the lock files for the versions that are not compatible and make the operation faster, and according to the app, this might be useful if someone doesn't have an internet connection or so.

Yes, we don't suggest what is the target version but something is something even with no internet connection.

Screenshot 2026-10-12 at 15 00 48

The compatibility report looks up every incompatible gem's released
versions on rubygems.org to find one that allows the target Rails.
Without network (CI runners, locked-down machines) the report cannot
run at all, even though the list of incompatible gems only needs the
gemspecs already installed.

--offline skips that lookup and lists the incompatible gems on their
own. outdated and ruby_check always call rubygems.org, so the flag is
refused there instead of being silently ignored.
@JuanVqz
JuanVqz marked this pull request as ready for review October 12, 2026 21:01
@JuanVqz
JuanVqz force-pushed the feature/bundle-report-offline branch from 921b650 to 8b13163 Compare October 12, 2026 21:04
OptionParser accepts any unique prefix of a long option, so
`outdated --off` ran the outdated report with the flag silently
ignored: the check only looked for the exact "--offline".
@JuanVqz
JuanVqz merged commit 5ad612c into main Oct 12, 2026
11 checks passed
@JuanVqz
JuanVqz deleted the feature/bundle-report-offline branch October 12, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant