gem spec and C Ruby extension

U

Une bévue

i'm reading both :
Gemspec Reference <http://docs.rubygems.org/read/chapter/20#toc> and
DeveloperGuide
<http://rubygems.rubyforge.org/wiki/wiki.pl?DeveloperGuide>

however i don't see any example to produce a "binary" gem from a *.c
file.

basically, i make use of a MakeFile (given an extconf.rb) and then
compile (given a compil.rb) to produce a "raliasfile.bundle" which is
the binary linked to the right dependencies over Mac OS X 10.4+.

i want this C ext to be installed in :

/path/to/lib/ruby/vendor_ruby/1.8/powerpc-darwin8.7.0

(as rubycocoa.bundle)

is that the right place ?

where could be a test file (test.rb) installed ?

also i would like to install properly a exaple file (sample.rb) ?
 

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,767
Messages
2,569,571
Members
45,045
Latest member
DRCM

Latest Threads

Top