RubyGems and Bundler 4.1.0.beta2 include features, enhancements, breaking changes and bug fixes.
To update to the latest RubyGems you can run:
gem update --system [--pre]
To update to the latest Bundler you can run:
gem install bundler [--pre]
bundle update --bundler=4.1.0.beta2
Release Notes
RubyGems
Changes already released in 4.0.x are not repeated here.
Features:
- Support content addressable gems in
Gem::PackageTask. Pull request #9897 by Harriet Oughton, Gira Chawda and Jenny Shen - Add
--content-addressabletogem buildand make--ruby-abionly set the Ruby ABI. Pull request #9906 by Harriet Oughton
Enhancements:
- Drop setuid, setgid and sticky bits when extracting gems. Pull request #9929 by Hiroshi SHIBATA
- Improve handling of paths with invalid Windows characters. Pull request #9276 by Said Kaldybaev and Hiroshi SHIBATA
- Installs bundler 4.1.0.beta2 as a default gem.
Breaking changes:
- Build a platform gem with
gem build --platformfor the local platform. Pull request #9873 by Hiroshi SHIBATA - Fix
gem update --user-installupdating gems outside the user directory. Pull request #9872 by Hiroshi SHIBATA
Bundler
Changes already released in 4.0.x are not repeated here.
Features:
- Let override drop or replace one dependency of a gem. Pull request #9935 by Hiroshi SHIBATA
- Add
sparse_checkoutoption to git source. Pull request #9295 by Ian Ker-Seymer and Hiroshi SHIBATA - Implement
--exact-matchFlag forbundle info/show/open. Pull request #9489 by Harriet Oughton
Bug fixes:
- Respect Gemfile lockfile in
bundle lock. Pull request #9661 by David Stosik and Hiroshi SHIBATA
Manual Installation
To install RubyGems by hand see the Download RubyGems page.
SHA256 Checksums:
- rubygems-4.1.0.beta2.tgz
8a9d6692b72890214b98adcf53d5c48169f05a6631b5cff44e0fead91676f8da - rubygems-4.1.0.beta2.zip
1666a50d1d8a48376f385d410af9a6d07ec0c5e9323cdda77fa7f75d6e544f54 - rubygems-update-4.1.0.beta2.gem
73b1485c83b1d11a1587138b7ca9ef763e09931b8d580dc52e92b4821a92a456