search for: rb_include_module

Displaying 2 results from an estimated 2 matches for "rb_include_module".

2004 May 08
0
win32-process - mixing Process into Object
...he ability to call fork() without having to using the Process constant, i.e. fork vs Process.fork. In pure Ruby, you can do this: module Process def fork puts "fork!" end end class Object include Process end fork # -> "fork!" In the process.c file I tried rb_include_module(rb_cObject,rb_mProcess) at the end of the Init() function, but it didn''t seem to work. Any ideas on how we can accomplish this? Regards, Dan
2006 Aug 15
5
Ferret Segmentation Faults
Hi, I am getting a number of segmentation faults using Ferret 0.9.5, Fedora Core 5 and Ruby 1.8.4 I installed it with the recommended gem install ferret and example segmentation fault creation line would be as follows: @records = FerretConfig::INDEX.search("address_line_2:\"Dumbarton\"") I am also using acts_as_ferret and rails 1.15 but think this is an issue with