summaryrefslogtreecommitdiff
path: root/spec/ruby/shared/math
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-11-04 20:02:55 +0100
committergit <svn-admin@ruby-lang.org>2024-11-06 11:37:10 +0000
commit8c184885b09d600b4c35fe04be3da0c9c5b36adf (patch)
tree84f9e3a487481cea15f8c5ab2f50010cfaff3d1c /spec/ruby/shared/math
parente5860e565467cb330f2c7b9ae140a1e4b89c0b71 (diff)
[rubygems/rubygems] Fix some JRuby warnings when using `bundler/setup` with Ruby's -w flag
When using the `bundler/setup` entrypoint, Bundler prints the following warnings in JRuby in `-w` is passed to Ruby. ``` /path/to/bundler/shared_helpers.rb:10: warning: constant Bundler::WINDOWS is deprecated /path/to/bundler/shared_helpers.rb:11: warning: constant Bundler::FREEBSD is deprecated /path/to/bundler/lib/bundler/shared_helpers.rb:12: warning: constant Bundler::NULL is deprecated ``` This does not happen in CRuby. This seems like a JRuby bug but we can skip it by autoloading the constants. https://github.com/rubygems/rubygems/commit/761ca29fa2
Diffstat (limited to 'spec/ruby/shared/math')
0 files changed, 0 insertions, 0 deletions