-
-
Notifications
You must be signed in to change notification settings - Fork 942
Closed
Milestone
Description
Environment
Note this happens in GitHub Actions.
Provide at least:
- JRuby version: 9.2.9.0
- Operating system and platform (e.g.
uname -a): GitHub Actions on Ubuntu 16.04, 18.04. It seems to work in macOS.
Expected Behavior
gem install bundler -v '~> 1' --no-document and bundle install should work.
Actual Behavior
But instead they fail with:
https://github.com/eregon/ruby-install-builder/runs/380064532
https://github.com/eregon/ruby-install-builder/runs/380064626
/home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/psych.rb:7: warning: already initialized constant SNAKEYAML_VERSION
/home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/psych.rb:7: warning: already initialized constant ANY
/home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/psych.rb:7: warning: already initialized constant UTF8
/home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/psych.rb:7: warning: already initialized constant UTF16LE
/home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/psych.rb:7: warning: already initialized constant UTF16BE
/home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
LoadError: load error: psych -- java.lang.NoClassDefFoundError: Could not initialize class org.jruby.ext.psych.PsychEmitter
require at org/jruby/RubyKernel.java:978
require at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
<main> at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/yaml.rb:6
require at org/jruby/RubyKernel.java:978
require at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
load_yaml at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems.rb:724
load_file at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems/config_file.rb:349
initialize at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems/config_file.rb:202
do_configuration at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems/gem_runner.rb:79
run at /home/runner/.rubies/jruby-9.2.9.0/lib/ruby/stdlib/rubygems/gem_runner.rb:44
<main> at /home/runner/.rubies/jruby-9.2.9.0/bin/jgem:21
load at org/jruby/RubyKernel.java:1013
<main> at /home/runner/.rubies/jruby-9.2.9.0/bin/gem:4
##[error]Process completed with exit code 1.
Also noticed by @pkuczynski in https://github.com/rubyconfig/config/pull/228/checks?check_run_id=380015086 for bundle install.
Note that that version used to work fine, maybe it's a change in GitHub Actions virtual environments that triggered this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels