Open
Conversation
Ruby v4.0.0 has been officially released. This update modifies the CI configuration to include Ruby 4.0 in the testing matrix, ensuring compatibility and stability with the latest Ruby version. https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/ In Ruby v4.0.0, the 'logger' library has been removed from the standard library and is now a bundled gem. Therefore, to use it within serverkit, it is necessary to explicitly install it by adding it as a dependency in the gemspec. > The following bundled gems are promoted from default gems. > logger 1.7.0 > https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/#stdlib-updates ref: https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/logger.rb#L3 Also, since the rubocop v1.23.0 being used depends on `ostruct`, which has been removed from the default gems, `ostruct` has also been added to the Gemfile for explicit installation. ``` gems/rubocop-1.23.0/lib/rubocop/formatter/html_formatter.rb:5: warning: ostruct used to be loaded from the standard library, but is not part of the default gems since Ruby 4.0.0. You can add ostruct to your Gemfile or gemspec to fix this error. rake aborted! LoadError: cannot load such file -- ostruct (LoadError) ``` > The following bundled gems are promoted from default gems. > ostruct 0.6.3 > https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/#stdlib-updates
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.
Ruby v4.0.0 has been officially released 🎉
This update modifies the CI configuration to include Ruby 4.0 in the testing matrix and updated dependencies, ensuring compatibility and stability with the latest Ruby version.
https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released/
In Ruby v4.0.0, the 'logger' library has been removed from the standard library and is now a bundled gem. Therefore, to use it within serverkit, it is necessary to explicitly install it by adding it as a dependency in the gemspec.
ref:
serverkit/lib/serverkit/logger.rb
Line 3 in 48e2bf1
Also, since the rubocop v1.23.0 being used depends on
ostruct, which has been removed from the default gems,ostructhas also been added to the Gemfile for explicit installation.