adding a ruby library built using swig

L

Lyes Amazouz

[Note: parts of this message were removed to make it a legal post.]

Hello!

I have a pb with ruby rails and swig


I have wrapped a c library I have made into ruby using swig
now I want to use it in a rails project

I have already tested my library with a ruby script and it worked well

I added the path to the swig generated library in my script and it
recognized my library

but when I tired to call my library in my rails project, it did not
recognize any of the generated files even when I added their path (using "$:
<< "path/to/swig/library")

have anyone an Idea on how to do that

I know that I have to post this message in the rails mailing list, but
nobody has replied yet, so I try here

thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top