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
Seems like there's either something wrong with the jar, something wrong with the gem, or something wrong with how we load jars in 9k, but the psych jar seems to only be loadable from our stdlib.
[] ~/projects/psych $ gem install pkg/psych-2.0.13-java.gem
jar dependencies for psych-2.0.13-java.gemspec . . .
org.yaml:snakeyaml:1.14
Successfully installed psych-2.0.13-java
1 gem installed
[] ~/projects/psych $ cd ../jruby
[] ~/projects/jruby $ mv lib/ruby/stdlib/psych.jar .
[] ~/projects/jruby $ cd -
/Users/headius/projects/psych
[] ~/projects/psych $ ruby -v -e 'require "yaml"; p YAML.load("nokogiri: 鋸".force_encoding("ASCII-8BIT"))'
jruby 9.0.0.0-SNAPSHOT (2.2.2) 2015-05-05 f196dbb Java HotSpot(TM) 64-Bit Server VM 25.40-b23 on 1.8.0_40-ea-b19 +jit [darwin-x86_64]
/Users/headius/projects/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1:in `require':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
LoadError: no such file to load -- psych
require at org/jruby/RubyKernel.java:966
require at /Users/headius/projects/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:121
<top> at /Users/headius/projects/jruby/lib/ruby/gems/shared/gems/psych-2.0.13-java/lib/psych_jars.rb:2
require at org/jruby/RubyKernel.java:966
(root) at /Users/headius/projects/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
<top> at /Users/headius/projects/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:69
require at org/jruby/RubyKernel.java:966
(root) at /Users/headius/projects/jruby/lib/ruby/gems/shared/gems/psych-2.0.13-java/lib/psych.rb:3
<top> at /Users/headius/projects/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
require at org/jruby/RubyKernel.java:966
require at /Users/headius/projects/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:128
<top> at -e:1
@mkristian Can you investigate? I'm not sure why this is happening :-(
Psych has merged everything and the "jruby" branch should be buildable with rake package (need hoe, minitest =~ 4, and rake-compiler installed).
Seems like there's either something wrong with the jar, something wrong with the gem, or something wrong with how we load jars in 9k, but the psych jar seems to only be loadable from our stdlib.
@mkristian Can you investigate? I'm not sure why this is happening :-(
Psych has merged everything and the "jruby" branch should be buildable with
rake package
(need hoe, minitest =~ 4, and rake-compiler installed).cc @tenderlove
The text was updated successfully, but these errors were encountered: