Issue #7385 has been reported by vo.x (Vit Ondruch). ---------------------------------------- Bug #7385: Compilation of Ruby should fail when libyaml is not present on system https://bugs.ruby-lang.org/issues/7385 Author: vo.x (Vit Ondruch) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: 2.0 =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: $ gem .../lib/ruby/2.0.0/yaml.rb:6:in `<top (required)>': 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 `require': cannot load such file -- psych (LoadError) 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/200Up... =end
[ruby-trunk - Bug #7385][Open] Compilation of Ruby should fail when libyaml is not present on system
on 2012-11-18 16:38
[ruby-trunk - Bug #7385][Rejected] Compilation of Ruby should fail when libyaml is not present on sy
on 2012-11-23 17:21
Issue #7385 has been updated by nobu (Nobuyoshi Nakada). Status changed from Open to Rejected Even if gem command can't run, ruby itself can run. ---------------------------------------- Bug #7385: Compilation of Ruby should fail when libyaml is not present on system https://bugs.ruby-lang.org/issues/7385#change-33664 Author: vo.x (Vit Ondruch) Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: 2.0 =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: $ gem .../lib/ruby/2.0.0/yaml.rb:6:in `<top (required)>': 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 `require': cannot load such file -- psych (LoadError) 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/200Up... =end
on 2012-11-23 22:33
Issue #7385 has been updated by vo.x (Vit Ondruch). 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. ---------------------------------------- Bug #7385: Compilation of Ruby should fail when libyaml is not present on system https://bugs.ruby-lang.org/issues/7385#change-33667 Author: vo.x (Vit Ondruch) Status: Rejected Priority: Normal Assignee: Category: Target version: ruby -v: 2.0 =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: $ gem .../lib/ruby/2.0.0/yaml.rb:6:in `<top (required)>': 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 `require': cannot load such file -- psych (LoadError) 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/200Up... =end
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.