[PROF-13115] Bootstrap installing dependencies on Ruby 4.0.0-preview2#5092
Merged
[PROF-13115] Bootstrap installing dependencies on Ruby 4.0.0-preview2#5092
Conversation
**What does this PR do?** This PR adds the `ruby-4.0.gemfile` file that's needed for running `bundle install` on Ruby 4.0.0-preview2. The contents of this file being added are copy/pasted from `ruby-4.0.gemfile` with no changes. I did not add or change anything on purpose: This is a very minimal part of the Ruby 4 CI support being prepared in #5084 but unlocks local development with Ruby 4.0. I suggest we keep adjustments/cleanups/etc for that later PR where we officially add Ruby 4.0 to our CI. **Motivation:** Without this file it's impossible to do local development on Ruby 4.0.0-preview2. It also came up in <DataDog/datadog-ruby_core_source#19>: we want to check if the profiler extension compiles on Ruby 4.0 and we're not able without this file. With this PR we can run `bundle install` and start running tests and tackling what's missing. **Additional Notes:** N/A **How to test the change?** Validate that it's possible to run `bundle install` on Ruby 4.0.
|
Thank you for updating Change log entry section 👏 Visited at: 2025-11-25 14:27:50 UTC |
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage 🔗 Commit SHA: 8dacd14 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
anmarchenko
approved these changes
Nov 25, 2025
BenchmarksBenchmark execution time: 2025-11-25 14:56:56 Comparing candidate commit 8dacd14 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 44 metrics, 2 unstable metrics. |
p-datadog
approved these changes
Nov 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR adds the
ruby-4.0.gemfilefile that's needed for runningbundle installon Ruby 4.0.0-preview2.The contents of this file being added are copy/pasted from
ruby-3.5.gemfilewith no changes.I did not add or change anything on purpose: This is a very minimal part of the Ruby 4 CI support being prepared in
#5084 but unlocks local development with Ruby 4.0. I suggest we keep adjustments/cleanups/etc for that later PR where we officially add Ruby 4.0 to our CI.
Motivation:
Without this file it's impossible to do local development on Ruby 4.0.0-preview2.
It also came up in
DataDog/datadog-ruby_core_source#19: we want to check if the profiler extension compiles on Ruby 4.0 and we're not able without this file.
With this PR we can run
bundle installand start running tests and tackling what's missing.Change log entry
None.
(This doesn't get a changelog entry since it affects only development -- the
Gemfilenor the version-specific variants are not shipped as part of the released gem)Additional Notes:
N/A
How to test the change?
Validate that it's possible to run
bundle installon Ruby 4.0.