RubyGems Navigation menu

Blog

Back to blog posts

3.2.0.rc.2 Released

RubyGems 3.2.0.rc.2 includes minor enhancements, bug fixes, performance, major enhancements, minor enhancements, bug fixes and deprecations.

To update to the latest RubyGems you can run:

gem update --system

If you need to upgrade or downgrade please follow the how to upgrade/downgrade RubyGems instructions. To install RubyGems by hand see the Download RubyGems page.

Minor enhancements:

  • Don’t hit the network when installing dependencyless local gemspec. Pull request #3968 by deivid-rodriguez
  • Add --force option to gem sources command. Pull request #3956 by andy-smith-msm
  • Make –dry-run flag consistent across rubygems commands. Pull request #3867 by bronzdoc
  • Disallow downgrades to too old versions. Pull request #3566 by deivid-rodriguez
  • Added --platform option to build command. Pull request #3079 by nobu
  • Have “gem update –system” pass through the --silent flag. Pull request #3789 by duckinator
  • Add writable check for cache dir. Pull request #3876 by xndcn
  • Warn on duplicate dependency in a specification. Pull request #3864 by bronzdoc
  • Fix indentation in gem env. Pull request #3861 by colby-swandale
  • Let more exceptions flow. Pull request #3819 by deivid-rodriguez
  • Ignore internal frames in RubyGems’ Kernel#warn. Pull request #3810 by eregon

Bug fixes:

  • Append ‘.gemspec’ extension only when it is not present.. Pull request #3988 by voxik
  • Install to correct plugins dir when using --build-root. Pull request #3972 by deivid-rodriguez
  • Fix --build-root flag under Windows. Pull request #3975 by deivid-rodriguez
  • Fix typo_squatting? false positive for rubygems.org itself. Pull request #3951 by andy-smith-msm
  • Make --default and --install-dir options to gem install play nice together. Pull request #3906 by deivid-rodriguez
  • Add missing fileutils require. Pull request #3911 by deivid-rodriguez
  • Fix false positive warning on Windows when PATH has File::ALT_SEPARATOR. Pull request #3829 by deivid-rodriguez
  • Fix Kernel#warn override to handle backtrace location with nil path. Pull request #3852 by jeremyevans
  • Don’t format executables on gem update --system. Pull request #3811 by deivid-rodriguez
  • gem install --user fails with Gem::FilePermissionError on the system plugins directory. Pull request #3804 by nobu

Performance:

  • Don’t change ruby process CWD when building extensions. Pull request #3498 by deivid-rodriguez
  • Avoid duplicated generation of APISpecification objects. Pull request #3940 by mame
  • Eval defaults with frozen_string_literal: true. Pull request #3847 by casperisfine
  • Deduplicate the requirement operators in memory. Pull request #3846 by casperisfine
  • Optimize Gem.already_loaded?. Pull request #3793 by casperisfine

SHA256 Checksums:

  • rubygems-3.2.0.rc.2.tgz
    e50db5bc2041f07f67ace2cd9801e0f69678918c417ea4f0801710b5edf14a28
  • rubygems-3.2.0.rc.2.zip
    0306c59ac8e0e1ca12005526a28226006a0a82102e568c1e24cc5f46a4ce327a
  • rubygems-update-3.2.0.rc.2.gem
    c9eb05077ffe719e9bd5747a7ad4e3b919582c45cf23db7eb2c6a77bcf014b9d
Hiroshi SHIBATA