Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby/3.1.0/x64-mingw32/psych.so (LoadError) when using Psych 4.0.0 and x64-mingw32 #494

Closed
koic opened this issue May 17, 2021 · 1 comment

Comments

@koic
Copy link
Contributor

koic commented May 17, 2021

Since upgrading to Psych 4.0.0, the following error has occurred in Windows CI (GitHub Actions).

D:/ruby-mingw/lib/ruby/3.1.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.
LoadError: 126: The specified module could not be found.   - D:/ruby-mingw/lib/ruby/3.1.0/x64-mingw32/psych.so
<internal:D:/ruby-mingw/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require': 126: The specified module could not be found.   - D:/ruby-mingw/lib/ruby/3.1.0/x64-mingw32/psych.so (LoadError)
	from <internal:D:/ruby-mingw/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from D:/ruby-mingw/lib/ruby/3.1.0/psych.rb:13:in `<top (required)>'
	from <internal:D:/ruby-mingw/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:D:/ruby-mingw/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from D:/ruby-mingw/lib/ruby/3.1.0/yaml.rb:4:in `<top (required)>'
	from <internal:D:/ruby-mingw/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:D:/ruby-mingw/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/psyched_yaml.rb:12:in `<top (required)>'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/rubygems_integration.rb:114:in `require_relative'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/rubygems_integration.rb:114:in `configuration'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/fetcher.rb:247:in `connection'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/fetcher.rb:89:in `initialize'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/source/rubygems.rb:273:in `new'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/source/rubygems.rb:273:in `block in fetchers'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/source/rubygems.rb:271:in `map'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/source/rubygems.rb:271:in `fetchers'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/source/rubygems.rb:407:in `block in remote_specs'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/index.rb:9:in `build'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/source/rubygems.rb:406:in `remote_specs'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/source/rubygems.rb:104:in `specs'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/definition.rb:296:in `block (2 levels) in index'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/definition.rb:294:in `each'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/definition.rb:294:in `block in index'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/index.rb:9:in `build'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/definition.rb:291:in `index'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/definition.rb:913:in `source_requirements'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/definition.rb:285:in `resolve'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/definition.rb:176:in `resolve_remotely!'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/installer.rb:291:in `resolve_if_needed'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/installer.rb:83:in `block in run'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/process_lock.rb:12:in `block in lock'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/process_lock.rb:9:in `open'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/process_lock.rb:9:in `lock'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/installer.rb:72:in `run'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/installer.rb:24:in `install'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/cli/install.rb:60:in `run'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/cli.rb:259:in `block in install'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/settings.rb:133:in `temporary'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/cli.rb:258:in `install'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/cli.rb:30:in `dispatch'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/cli.rb:24:in `start'
	from D:/ruby-mingw/lib/ruby/gems/3.1.0/gems/bundler-2.3.0.dev/libexec/bundle:49:in `block in <top (required)>'
	from D:/ruby-mingw/lib/ruby/3.1.0/bundler/friendly_errors.rb:130:in `with_friendly_errors'
	from D:/ruby-mingw/lib/ruby/gems/3.1.0/gems/bundler-2.3.0.dev/libexec/bundle:37:in `<top (required)>'
	from D:/ruby-mingw/bin/bundle:31:in `load'
	from D:/ruby-mingw/bin/bundle:31:in `<main>'

https://github.com/rubocop/rubocop/pull/9806/checks?check_run_id=2601617298

Should I wait for a package release for x64-mingw32? (e.g. https://rubygems.org/gems/psych/versions/3.1.0-x64-mingw32)

@koic
Copy link
Contributor Author

koic commented Jun 5, 2021

This issue has been resolved and I'm going to close it. @MSP-Greg told me below. Thank you!
rubocop/rubocop#9808 (comment)

@koic koic closed this as completed Jun 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant