-
Notifications
You must be signed in to change notification settings - Fork 210
Closed
Description
Since Psych 5.2.5, the following error has started occurring on Windows environments with Ruby 2.7:
C:/hostedtoolcache/windows/Ruby/2.7.8/x64/lib/ruby/2.7.0/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/date-3.4.1/lib/date.rb:4:in `require': 127: The specified procedure could not be found. - D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/date-3.4.1/lib/date_core.so (LoadError)
from D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/date-3.4.1/lib/date.rb:4:in `<top (required)>'
from D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/psych-5.2.5/lib/psych.rb:2:in `require'
from D:/a/rubocop/rubocop/vendor/bundle/ruby/2.7.0/gems/psych-5.2.5/lib/psych.rb:2:in `<top (required)>'
from C:/hostedtoolcache/windows/Ruby/2.7.8/x64/lib/ruby/2.7.0/yaml.rb:4:in `require'
from C:/hostedtoolcache/windows/Ruby/2.7.8/x64/lib/ruby/2.7.0/yaml.rb:4:in `<top (required)>'
from D:/a/rubocop/rubocop/lib/rubocop/config_loader_resolver.rb:4:in `require'
from D:/a/rubocop/rubocop/lib/rubocop/config_loader_resolver.rb:4:in `<top (required)>'
from D:/a/rubocop/rubocop/lib/rubocop.rb:769:in `require_relative'
from D:/a/rubocop/rubocop/lib/rubocop.rb:769:in `<top (required)>'
from -e:in `require'https://github.com/rubocop/rubocop/actions/runs/14943230758/job/41983280752
Looking at the stack trace, it seems that the changes in #695 may be related. This issue also occurs in the latest stable version, Psych 5.2.6.
Metadata
Metadata
Assignees
Labels
No labels