Skip to content

Conversation

@andy1li
Copy link
Member

@andy1li andy1li commented Dec 9, 2025

CC-2062: Update Ruby to 3.4


Note

Updates Ruby to 3.4 and replaces app/server.rb with app/main.rb across starters, solutions, and templates; adds a Ruby 3.4 Dockerfile.

  • Runtime/Build:
    • Update buildpack and requirements to ruby-3.4 in codecrafters.yml and starter_templates/ruby/config.yml.
    • Add dockerfiles/ruby-3.4.Dockerfile with Alpine base and dependencies; enable bundle install with cache-friendly copy.
  • Entrypoint Change:
    • Replace exec bundle exec ruby app/server.rb with ... app/main.rb in .codecrafters/run.sh and your_program.sh across compiled starters, solutions, and templates.
    • Add app/main.rb in starters and solutions; uncomment minimal TCP server in solution.
  • Docs:
    • Update READMEs to reference app/main.rb and Ruby 3.4.

Written by Cursor Bugbot for commit f08a31a. This will update automatically on new commits. Configure here.

@linear
Copy link

linear bot commented Dec 9, 2025

… code in main.rb and update logging method. Added TODO for server implementation.
@andy1li andy1li merged commit 5347b2b into main Dec 9, 2025
25 of 26 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.

2 participants