Skip to content

Commit 94dafb2

Browse files
committed
Update bundler in the main gemfile
Every time I run `bundle exec rake`, I get warnings about duplicate constants. This is solved in newer bundler versions: ``` /home/user/.rbenv/versions/4.0.0/lib/ruby/gems/4.0.0/gems/bundler-2.5.16/lib/bundler/rubygems_ext.rb:290: warning: already initialized constant Gem::Platform::JAVA /home/user/.rbenv/versions/4.0.0/lib/ruby/4.0.0/rubygems/platform.rb:279: warning: previous definition of JAVA was here ``` Bundler 4 requires ruby 3.2 but erb since 5.0 already imposes the same constraint. Bundler now warns about using mswin etc. Should use windows instead.
1 parent 2a16f00 commit 94dafb2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gem "rake-compiler"
1111
gem "ruby_parser"
1212
gem "test-unit"
1313

14-
platforms :mri, :mswin, :mingw, :x64_mingw do
14+
platforms :mri, :windows do
1515
gem "ffi"
1616
gem "irb"
1717
gem "ruby_memcheck"

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ DEPENDENCIES
8181
test-unit
8282

8383
BUNDLED WITH
84-
2.5.16
84+
4.0.4

0 commit comments

Comments
 (0)