>>>>> "D" == Daniel Berger <djberg96 / attbi.com> writes:

D> void Init_Sys()
[...]
D> void Init_Info()
[...]
D> require 'Sys'

 I'm not sure if it's a good idea to have capital letter for the name of a
 module. 


D> puts Sys::Info.hostname

 Normal, Sys::Info is defined by Info.so not by Sys.so, you must write 

   require 'Info'         # the require 'Sys' will be made by Info.so
   puts Sys::Info.hostname


 I've found strange that you define a class and then call
 rb_define_module_function() perhaps in this case it's best to define a
 module, or define a class Info and use rb_define_singleton_method()


Guy Decoux