Mailinglist Archive: opensuse-bugs (3517 mails)

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

https://bugzilla.novell.com/show_bug.cgi?id=705422

https://bugzilla.novell.com/show_bug.cgi?id=705422#c3


Jiří Suchomel <jsuchome@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
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
specify
load pathes for modules. Would that fix this issue ?

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

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: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
< Previous Next >