Mailinglist Archive: opensuse-bugs (3517 mails)

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

Jiří Suchomel <jsuchome@xxxxxxxx> changed:

What |Removed |Added
InfoProvider|jsuchome@xxxxxxxx |

--- Comment #3 from Jiří Suchomel <jsuchome@xxxxxxxx> 2011-09-07 08:46:19 UTC
(In reply to comment #2)

The search path serves as a kind of 'namespace' prefix to prevent clashes of
yast-ruby modules with other ruby plugins.
yast2-core used to have a "-M" option (similar to -I of C compilers) to
load pathes for modules. Would that fix this issue ?

I doubt, because the ruby modules need to be available from ycp clients as

Ideally, I'd expect that ruby module installed at

ruby_vendor_dir y_lib/kerberos_client.rb

would be available in YaST as

import "YLib/kerberos_client"

or (with some automatic lower/upper case magic)

import "YLib/KerberosClient"

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