Remi Gillig
6/17/2008 2:11:00 PM
Hello,
I am just messing around with Ruby and its internals. I am embedding
Ruby but without using the library, I directly link the .c files of
Ruby with my program. I got it working with the same code as I used
for my program which uses the static library.
The only problem I have is concerning the load path (I am just using
ruby_incpush here) :
- with static lib : [".", "lib"]
- without lib : [".\000", "lib\000"]
The consequence of that is that require does not find any file
anymore. Although, I am not sure if require works correctly either
because when ruby_init_loadpath, the load path contains "." but does
not load files.
I would like some advice if anyone already had this kind of problem
either with or without linking with the library. Thanks.
Remi Gillig.