Skip to content

Bump Ruby and remove unused gems#159

Merged
mateusdeap merged 5 commits intorailsbump:mainfrom
JuanVqz:feature/bump-ruby
Apr 9, 2026
Merged

Bump Ruby and remove unused gems#159
mateusdeap merged 5 commits intorailsbump:mainfrom
JuanVqz:feature/bump-ruby

Conversation

@JuanVqz
Copy link
Copy Markdown
Member

@JuanVqz JuanVqz commented Apr 8, 2026

Summary

  • Bump Ruby to 4.0
  • Remove binding_of_caller and pry-rails gems (unused in application and test code)
  • Update VCR to 6.4.0 for Ruby 4.0 compatibility (CGI.parse was removed)
  • Remove byebug gem (unmaintained, incompatible with Ruby 4.0 C extension — debug is built-in)
  • Remove better_errors gem (its dependency rouge uses CGI.parse, removed in Ruby 4.0 — Rails built-in error pages suffice)

@JuanVqz JuanVqz force-pushed the feature/bump-ruby branch from 472123a to 66a2b8d Compare April 8, 2026 21:56
CGI.parse was removed in Ruby 4.0, causing VCR 6.3.1 to fail.
@JuanVqz JuanVqz requested a review from mateusdeap April 8, 2026 22:14
JuanVqz added 2 commits April 8, 2026 16:21
Unmaintained since 2022 and incompatible with Ruby 4.0 (C extension).
Ruby 4.0 ships with the debug gem as a built-in replacement.
Its dependency rouge uses CGI.parse which is removed in Ruby 4.0.
Rails built-in error pages are sufficient for development.
@JuanVqz JuanVqz requested a review from jeremysmithco April 9, 2026 00:38
@JuanVqz JuanVqz self-assigned this Apr 9, 2026
@JuanVqz JuanVqz requested review from a team and removed request for jeremysmithco and mateusdeap April 9, 2026 05:00
Copy link
Copy Markdown
Contributor

@jeremysmithco jeremysmithco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good!

@mateusdeap mateusdeap merged commit 452fd9e into railsbump:main Apr 9, 2026
2 checks passed
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.

3 participants