Skip to content

[codex] Update Ruby and dependency lockfile#261

Merged
eirvandelden merged 2 commits into
mainfrom
ai/update-ruby-and-dependencies
Jun 30, 2026
Merged

[codex] Update Ruby and dependency lockfile#261
eirvandelden merged 2 commits into
mainfrom
ai/update-ruby-and-dependencies

Conversation

@eirvandelden

Copy link
Copy Markdown
Owner

Summary

  • update Ruby metadata to 4.0.5 and refresh dependency lockfile entries
  • remove stale ruby-graphviz binstubs that no longer have a bundled backing gem after rails-erd 2.0.2
  • add a regression test so ruby-graphviz binstubs cannot be committed while the gem is absent from Gemfile.lock

Root cause

rails-erd 2.0.2 no longer depends on ruby-graphviz, so the dependency refresh removed ruby-graphviz from Gemfile.lock. The generated bin/*gv executables were still committed and called Gem.bin_path("ruby-graphviz", ...), which made those commands fail under Bundler.

Verification

  • bundle exec rails test test/binstubs_test.rb
  • bundle exec ruby -e 'Bundler.setup; offenders = Dir["bin/*"].select { |path| File.read(path).include?(%q{Gem.bin_path("ruby-graphviz"}) }; abort offenders.join("\n") if offenders.any?; puts "no ruby-graphviz binstubs"'
  • bundle exec rubocop --parallel --format simple
  • bundle exec rails test
  • bundle exec brakeman --no-pager --ignore-config config/brakeman.ignore
  • bundle exec bundle-audit check

bundle exec rails test:system was not run to completion locally because Selenium cannot find a Chrome binary in this workspace environment.

eirvandelden and others added 2 commits June 30, 2026 13:25
Updates Ruby from 4.0.2 to 4.0.5 and upgrades all outdated gems,
including puma 7→8, rubocop-capybara 2→3, and rails-erd 1→2.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@eirvandelden eirvandelden force-pushed the ai/update-ruby-and-dependencies branch from 3e11116 to 9606e41 Compare June 30, 2026 11:54
@eirvandelden eirvandelden marked this pull request as ready for review June 30, 2026 12:15
@eirvandelden eirvandelden merged commit b539004 into main Jun 30, 2026
4 checks passed
@eirvandelden eirvandelden deleted the ai/update-ruby-and-dependencies branch June 30, 2026 12:15
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