You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ruby -vruby3.4.0dev(2024-10-26T13:20:34Zmaster484ea00d2e) +PRISM[x86_64-linux]
$ bundleexecrspec./spec/no_warnings_spec.rb:4Sourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=prism version=1.0.0 platform=ruby> because it is missing extensionsSourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=json version=2.7.2 platform=ruby> because it is missing extensionsSourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=google-protobuf version=4.27.0 platform=ruby> because it is missing extensionsSourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=cgi version=0.4.1 platform=ruby> because it is missing extensionsRunoptions: include{locations: {"./spec/no_warnings_spec.rb"=>[4]}}FFailures:
1)when $VERBOSE isenabledprintsnowarningsFailure/Error: expect(err).tobe_emptyexpected`"Source locally installed gems is ignoring #<Bundler::StubSpecification name=prism version=1.0.0 plat...Bundler::StubSpecification name=cgi version=0.4.1 platform=ruby> because it is missing extensions\n".empty?`tobetruthy,gotfalse# ./spec/no_warnings_spec.rb:8:in 'block (2 levels) in <top (required)>'Finishedin0.16809seconds(filestook0.05484secondstoload)1example,1failureFailedexamples:
rspec./spec/no_warnings_spec.rb:4# when $VERBOSE is enabled prints no warnings
$
The text was updated successfully, but these errors were encountered:
Run the thor command of this spec with bundler, that emits Source locally installed gems is ignoring warnings.
$ bundleexecruby -I./lib/ ./spec/fixtures/verbose.thorSourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=prism version=1.0.0 platform=ruby> because it is missing extensionsSourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=json version=2.7.2 platform=ruby> because it is missing extensionsSourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=google-protobuf version=4.27.0 platform=ruby> because it is missing extensionsSourcelocallyinstalledgemsisignoring#<Bundler::StubSpecification name=cgi version=0.4.1 platform=ruby> because it is missing extensionsCommands:
verbose.thorhelp[COMMAND]# Describe available commands or one specific command
$
Run this spec without bundler, that does not emit any warnings.
$ ruby -I./lib/ ./spec/fixtures/verbose.thorCommands:
verbose.thorhelp[COMMAND]# Describe available commands or one specific command
$
Steps to reproduce
Expected behavior
It should pass.
Actual behavior
It fails as follows.
The text was updated successfully, but these errors were encountered: