Is there a way to change the working directory of fiddle? – CentOS
I'm trying to load a C shared library within Ruby using Fiddle. Here is a minimal example: require 'fiddle' require 'fiddle/import' module Era extend Fiddle::Importer dlload './ServerApi.so' extern 'int era_init_lib()' extern 'void era_deinit_lib()' extern 'int era_process_request(const char* request, char** response)'…