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
JRuby version: jruby 9.1.2.0 (2.3.0) 2016-05-26 7357c8f Java HotSpot(TM) 64-Bit Server VM 25.92-b14 on 1.8.0_92-b14 +jit [mswin32-x86_64](jruby -v) and command line (flags, JRUBY_OPTS, etc)
Operating system: Microsoft Windows [Version 10.0.10586]Microsoft Windows [Version 10.0.10586]
Other relevant info you may wish to add:
No gems installed by me (only the out of the box stuff here)
No environment variables set by me
I have a clean install of Jruby-9.1.2.0. I tried to update the default installed gems and psych fails on compiling c extensions. I guess that is correct for a JRuby installation, but why is i trying to build native extensions?
Actual command line output:
C:>jruby -S gem update
Updating installed gems
Updating psych
Building native extensions. This could take a while...
C:/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/ext/ext_conf_builder.rb:56: warning: Tempfile#unlink or delete called on open file; ignoring
ERROR: Error installing psych:
ERROR: Failed to build gem native extension.
current directory: C:/jruby-9.1.2.0/lib/ruby/gems/shared/gems/psych-2.1.0/ext/psych
C:/jruby-9.1.2.0/bin/jruby.exe -r ./siteconf20160630-76020-wqd7r.rb extconf.rb
NotImplementedError: C extensions are not supported
at C:/jruby-9.1.2.0/lib/ruby/stdlib/mkmf.rb:1
require at org/jruby/RubyKernel.java:944
(root) at C:/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
at extconf.rb:3
extconf failed, exit code 1
Gem files will remain installed in C:/jruby-9.1.2.0/lib/ruby/gems/shared/gems/psych-2.1.0 for inspection.
Results logged to C:/jruby-9.1.2.0/lib/ruby/gems/shared/extensions/universal-java-1.8/2.3.0/psych-2.1.0/gem_make.out
Gems updated: psych
The text was updated successfully, but these errors were encountered:
This should have attempted to install the "-java" version of the psych gem. It could be a RubyGems bug, or you might have caught a new psych version before @tenderlove pushed the -java version.
I'd try updating RubyGems itself and running this command again. Let us know.
C:\Users\henri\rubyProjects>jruby -S gem update
Updating installed gems
Updating psych
Building native extensions. This could take a while...
C:/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/ext/ext_conf_builder.rb:56: warning: Tempfile#unlink or delete called on open file; ignoring
ERROR: Error installing psych:
ERROR: Failed to build gem native extension.
current directory: C:/jruby-9.1.2.0/lib/ruby/gems/shared/gems/psych-2.1.0/ext/psych
C:/jruby-9.1.2.0/bin/jruby.exe -r ./siteconf20160712-15660-1rrt11h.rb extconf.rb
NotImplementedError: C extensions are not supported
at C:/jruby-9.1.2.0/lib/ruby/stdlib/mkmf.rb:1
require at org/jruby/RubyKernel.java:944
(root) at C:/jruby-9.1.2.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:1
at extconf.rb:3
extconf failed, exit code 1
Gem files will remain installed in C:/jruby-9.1.2.0/lib/ruby/gems/shared/gems/psych-2.1.0 for inspection.
Results logged to C:/jruby-9.1.2.0/lib/ruby/gems/shared/extensions/universal-java-1.8/2.3.0/psych-2.1.0/gem_make.out
Gems updated: psych
The update still tries to build native extensions.
jruby -v
) and command line (flags, JRUBY_OPTS, etc)Other relevant info you may wish to add:
I have a clean install of Jruby-9.1.2.0. I tried to update the default installed gems and psych fails on compiling c extensions. I guess that is correct for a JRuby installation, but why is i trying to build native extensions?
Actual command line output:
The text was updated successfully, but these errors were encountered: