Bug #7385
Using MinGW to make and then make install Ruby on Windows 7 now creates the following bin directory. It seems your ruby installation is missing psych (for YAML. This should output some information on the installed Ruby version. On Windows 10, you can also use the Windows Subsystem for Linux to install one of the supported Linux distributions and use any of the installation methods available on that system. If you cannot compile your own Ruby, and you do not.
closedCompilation of Ruby should fail when libyaml is not present on system
Description
=begin
Quoting from [1]:
If libyaml is not installed properly, you cannot compile Psych; no YAML library is available by default. You will see the following message in the build log:
configuring psych
yaml.h is missing. Please install libyaml.
Failed to configure psych. It will not be installed.
More concretely, you cannot invoke gem command:
Gentoo It Seems Your Ruby Installation Is Missing Psychological
$ gem
.../lib/ruby/2.0.0/yaml.rb:6:in <top (required)>':
require': cannot load such file -- psych (LoadError)
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
.../custom_require.rb:36:in
Since this seems to be real world problem [ruby-core:49416], the compilation should fail with error message, to avoid producing broken Ruby installation
[1] http://bugs.ruby-lang.org/projects/ruby/wiki/200UpgradeNotesDraft
=end
Updated by nobu (Nobuyoshi Nakada)over 8 years ago
- Status changed from Open to Rejected
Even if gem command can't run, ruby itself can run.
Gentoo It Seems Your Ruby Installation Is Missing Psychiatrist
Updated by vo.x (Vit Ondruch)over 8 years ago
Then RubyGems should be automatically disabled or something. It is like if Ruby would segfaulted under some scenarios and you would say that it is okay, since you can use it for different tasks.
Actually, there could be for example --disable-libyaml switch, which you would use to skip the psych build and made the build successful even if libyaml is not present and RubyGems are broken therefore.
Gentoo It Seems Your Ruby Installation Is Missing Psychology
It Seems Your Ruby Installation Is Missing Psych
Also available in: AtomPDF