Skip to content

Add in-use Ruby 4.0 non-standard gems to Gemfile/Gemspec#363

Closed
larouxn wants to merge 1 commit intoShopify:mainfrom
larouxn:add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile
Closed

Add in-use Ruby 4.0 non-standard gems to Gemfile/Gemspec#363
larouxn wants to merge 1 commit intoShopify:mainfrom
larouxn:add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile

Conversation

@larouxn
Copy link
Contributor

@larouxn larouxn commented Jun 8, 2025

What are you trying to accomplish?

Add gems we use that are no longer included by default in Ruby 4.0 to the Gemfile/Gemspec.

Follow up to #359

What approach did you choose and why?

I followed the logs (below) that noted these 4 gems as no-longer-standard-library and added the development gems (irb and benchmark) to the Gemfile and the production gems (logger and ostruct) to the Gemspec.

Note, we don't need to add reline if we upgrade pry-byebug to latest. Have done so in Ruby 4 PR.

Logs showing required gems

reline

bundle exec rake
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:169: warning: method redefined; discarding old encode_with
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:239: warning: already initialized constant Gem::Platform::JAVA
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:279: warning: previous definition of JAVA was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:240: warning: already initialized constant Gem::Platform::MSWIN
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:280: warning: previous definition of MSWIN was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:241: warning: already initialized constant Gem::Platform::MSWIN64
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:281: warning: previous definition of MSWIN64 was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:242: warning: already initialized constant Gem::Platform::MINGW
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:282: warning: previous definition of MINGW was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:243: warning: already initialized constant Gem::Platform::X64_MINGW
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:284: warning: previous definition of X64_MINGW was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:245: warning: already initialized constant Gem::Platform::WINDOWS
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:286: warning: previous definition of WINDOWS was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:246: warning: already initialized constant Gem::Platform::X64_LINUX
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:287: warning: previous definition of X64_LINUX was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:247: warning: already initialized constant Gem::Platform::X64_LINUX_MUSL
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:288: warning: previous definition of X64_LINUX_MUSL was here
/home/larouxn/.gem/ruby/4.0.1/gems/i18n-1.14.1/lib/i18n/exceptions.rb:3: warning: CGI library is removed from Ruby 4.0. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
If you need to use the full features of CGI library, Please install cgi gem.
    Sorry, you can't use byebug without Readline. To solve this, you need to
    rebuild Ruby with Readline support. If using Ubuntu, try `sudo apt-get
    install libreadline-dev` and then reinstall your Ruby.
/home/larouxn/.gem/ruby/4.0.1/gems/byebug-11.1.3/lib/byebug/history.rb:4:in 'Kernel#require': cannot load such file -- readline (LoadError)
Did you mean?  reline
        from /home/larouxn/.gem/ruby/4.0.1/gems/byebug-11.1.3/lib/byebug/history.rb:4:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/byebug-11.1.3/lib/byebug/interface.rb:4:in 'Kernel#require_relative'
        from /home/larouxn/.gem/ruby/4.0.1/gems/byebug-11.1.3/lib/byebug/interface.rb:4:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/byebug-11.1.3/lib/byebug/core.rb:7:in 'Kernel#require_relative'
        from /home/larouxn/.gem/ruby/4.0.1/gems/byebug-11.1.3/lib/byebug/core.rb:7:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/byebug/processors/pry_processor.rb:3:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/byebug/processors/pry_processor.rb:3:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:3:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/pry-byebug/pry_ext.rb:3:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/pry-byebug/cli.rb:4:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/pry-byebug/cli.rb:4:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/pry-byebug.rb:4:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/pry-byebug-3.10.1/lib/pry-byebug.rb:4:in '<top (required)>'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/test_helper.rb:11:in 'Kernel#require'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/test_helper.rb:11:in '<top (required)>'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/worldwide/address_formatting_test.rb:3:in 'Kernel#require'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/worldwide/address_formatting_test.rb:3:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in 'block in <main>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in 'Array#select'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in '<main>'
rake aborted!
Command failed with status (1)
/home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/exe/rake:27:in '<top (required)>'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Kernel.load'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Bundler::CLI::Exec#kernel_load'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:492:in 'Bundler::CLI#exec'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in 'Bundler::Thor::Command#run'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in 'Bundler::Thor.dispatch'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in 'Bundler::CLI.dispatch'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in 'Bundler::Thor::Base::ClassMethods#start'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in 'Bundler::CLI.start'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:45:in 'block in <top (required)>'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:33:in '<top (required)>'
/home/larouxn/.gem/ruby/4.0.1/bin/bundle:25:in '<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)

benchmark

bundle exec rake
bundler: failed to load command: rake (/home/larouxn/.gem/ruby/4.0.1/bin/rake)
/home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake.rb:33:in 'Kernel#require': cannot load such file -- ostruct (LoadError)
Did you mean?  tsort
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake.rb:33:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/exe/rake:25:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/exe/rake:25:in '<top (required)>'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Kernel#load'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Gem.activate_and_load_bin_path'
        from /home/larouxn/.gem/ruby/4.0.1/bin/rake:25:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Kernel.load'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Bundler::CLI::Exec#kernel_load'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:492:in 'Bundler::CLI#exec'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in 'Bundler::Thor::Command#run'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in 'Bundler::Thor.dispatch'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in 'Bundler::CLI.dispatch'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in 'Bundler::Thor::Base::ClassMethods#start'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in 'Bundler::CLI.start'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:45:in 'block in <top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:33:in '<top (required)>'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Kernel#load'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Gem.activate_and_load_bin_path'
        from /home/larouxn/.gem/ruby/4.0.1/bin/bundle:25:in '<main>'

ostruct

bundle exec rake
bundler: failed to load command: rake (/home/larouxn/.gem/ruby/4.0.1/bin/rake)
/home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake.rb:33:in 'Kernel#require': cannot load such file -- ostruct (LoadError)
Did you mean?  tsort
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake.rb:33:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/exe/rake:25:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/exe/rake:25:in '<top (required)>'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Kernel#load'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Gem.activate_and_load_bin_path'
        from /home/larouxn/.gem/ruby/4.0.1/bin/rake:25:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Kernel.load'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Bundler::CLI::Exec#kernel_load'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:492:in 'Bundler::CLI#exec'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in 'Bundler::Thor::Command#run'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in 'Bundler::Thor.dispatch'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in 'Bundler::CLI.dispatch'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in 'Bundler::Thor::Base::ClassMethods#start'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in 'Bundler::CLI.start'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:45:in 'block in <top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
        from /home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:33:in '<top (required)>'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Kernel#load'
        from /home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems.rb:303:in 'Gem.activate_and_load_bin_path'
        from /home/larouxn/.gem/ruby/4.0.1/bin/bundle:25:in '<main>'

logger

bundle exec rake
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:169: warning: method redefined; discarding old encode_with
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:239: warning: already initialized constant Gem::Platform::JAVA
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:279: warning: previous definition of JAVA was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:240: warning: already initialized constant Gem::Platform::MSWIN
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:280: warning: previous definition of MSWIN was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:241: warning: already initialized constant Gem::Platform::MSWIN64
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:281: warning: previous definition of MSWIN64 was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:242: warning: already initialized constant Gem::Platform::MINGW
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:282: warning: previous definition of MINGW was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:243: warning: already initialized constant Gem::Platform::X64_MINGW
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:284: warning: previous definition of X64_MINGW was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:245: warning: already initialized constant Gem::Platform::WINDOWS
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:286: warning: previous definition of WINDOWS was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:246: warning: already initialized constant Gem::Platform::X64_LINUX
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:287: warning: previous definition of X64_LINUX was here
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/rubygems_ext.rb:247: warning: already initialized constant Gem::Platform::X64_LINUX_MUSL
/home/larouxn/.rubies/ruby-4.0.1/lib/ruby/4.0.0/rubygems/platform.rb:288: warning: previous definition of X64_LINUX_MUSL was here
/home/larouxn/.gem/ruby/4.0.1/gems/i18n-1.14.1/lib/i18n/exceptions.rb:3: warning: CGI library is removed from Ruby 4.0. Please use cgi/escape instead for CGI.escape and CGI.unescape features.
If you need to use the full features of CGI library, Please install cgi gem.
/home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support/logger_thread_safe_level.rb:4:in 'Kernel#require': cannot load such file -- logger (LoadError)
        from /home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support/logger_thread_safe_level.rb:4:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support/logger_silence.rb:5:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support/logger_silence.rb:5:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support/logger.rb:3:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support/logger.rb:3:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support.rb:30:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/activesupport-7.1.1/lib/active_support.rb:30:in '<top (required)>'
        from /home/larouxn/src/github.com/larouxn/worldwide/lib/worldwide.rb:4:in 'Kernel#require'
        from /home/larouxn/src/github.com/larouxn/worldwide/lib/worldwide.rb:4:in '<top (required)>'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/test_helper.rb:4:in 'Kernel#require'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/test_helper.rb:4:in '<top (required)>'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/worldwide/address_formatting_test.rb:3:in 'Kernel#require'
        from /home/larouxn/src/github.com/larouxn/worldwide/test/worldwide/address_formatting_test.rb:3:in '<top (required)>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in 'Kernel#require'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in 'block in <main>'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in 'Array#select'
        from /home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in '<main>'
rake aborted!
Command failed with status (1)
/home/larouxn/.gem/ruby/4.0.1/gems/rake-13.0.6/exe/rake:27:in '<top (required)>'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Kernel.load'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in 'Bundler::CLI::Exec#kernel_load'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:492:in 'Bundler::CLI#exec'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in 'Bundler::Thor::Command#run'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in 'Bundler::Thor.dispatch'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in 'Bundler::CLI.dispatch'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in 'Bundler::Thor::Base::ClassMethods#start'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in 'Bundler::CLI.start'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:45:in 'block in <top (required)>'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
/home/larouxn/.gem/ruby/4.0.1/gems/bundler-2.4.10/exe/bundle:33:in '<top (required)>'
/home/larouxn/.gem/ruby/4.0.1/bin/bundle:25:in '<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)

What should reviewers focus on?

Any issue with the placement of the given gems re: Gemspec versus Gemfile?

The impact of these changes

Cleaner development experience re: no more console warnings re: these gems.

Testing

Screenshot From 2025-06-08 16-24-38

Checklist

  • I have added a CHANGELOG entry for this change (or determined that it isn't needed)

Determined not necessary as it's a developer facing change, not user facing.

@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from 1eb899c to deffa3e Compare June 8, 2025 07:42
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch 2 times, most recently from d387390 to b7cb54e Compare June 18, 2025 22:53
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch 2 times, most recently from e189642 to 9a7844f Compare June 28, 2025 03:29
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from 9a7844f to ec6498a Compare July 17, 2025 20:58
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch 2 times, most recently from f3bcd94 to e49b10e Compare August 24, 2025 21:38
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from e49b10e to 1a322cd Compare October 10, 2025 07:19
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from 1a322cd to 4fbe7be Compare January 3, 2026 19:04
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from 4fbe7be to 5b974cc Compare January 22, 2026 17:51
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch 2 times, most recently from f5654cf to 769faba Compare February 3, 2026 01:29
@larouxn larouxn changed the title Add Ruby 3.5 non-standard gems to Gemspec and Gemfile Add Ruby 4.0 non-standard gems to Gemspec and Gemfile Feb 6, 2026
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from 769faba to 7c6af3f Compare February 6, 2026 13:43
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch 2 times, most recently from 6ce6732 to a5a0f3e Compare February 18, 2026 14:09
@larouxn larouxn changed the title Add Ruby 4.0 non-standard gems to Gemspec and Gemfile Add in-use Ruby 4.0 non-standard gems to Gemfile Feb 18, 2026
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from a5a0f3e to 0ef57a5 Compare February 18, 2026 14:18
@larouxn larouxn changed the title Add in-use Ruby 4.0 non-standard gems to Gemfile Add in-use Ruby 4.0 non-standard gems to Gemfile/Gemspec Feb 18, 2026
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from 0ef57a5 to 9e451bc Compare February 18, 2026 14:23
@larouxn larouxn force-pushed the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch from 9e451bc to f573c4d Compare February 18, 2026 14:27
@larouxn
Copy link
Contributor Author

larouxn commented Feb 18, 2026

Closing in favour of doing the full Ruby 4 support upgrade in #434.

@larouxn larouxn closed this Feb 18, 2026
@larouxn larouxn deleted the add_ruby_3.5_non_standard_gems_to_gemspec_and_gemfile branch February 18, 2026 14:58
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.

1 participant