Mailinglist Archive: opensuse-bugs (3517 mails)

< Previous Next >
[Bug 705422] ruby-bindings: ruby module must be present in YCP moduledir

--- Comment #7 from Jiří Suchomel <jsuchome@xxxxxxxx> 2011-09-07 09:35:30 UTC
(In reply to comment #6)
Most ruby libraries does not offer the kind of API YCP expects for its modules
just like YaPI perl modules are not the typical perl module.

So a typical .rb file is not useful for YaST. It has to be a file with a
containing module methods.

Right for typical files, but could we have extra solution for those rb files
written for YaST++ project?
Currently we expect them to be located in
ruby_vendor_dir/y_lib/kerberos_client.rb so maybe a

import "YLib/KerberosClient" could be able to handle it because of YLib prefix?

Yes, other way is to install something (envelope or just symlimk) into
/usr/share/YaST/modules/YLib, but it would be nicer if we should not have to
care about it at least in case of these special ruby modules.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >