State of the art in setup.rb land?

B

Bill Kelly

Greetings,

I've been a little slow to hitch onto the 'gem' and 'rake'
train, but I'm creating a new ruby C extension I'd like to
release as a gem.

The tools I'm familiar with are mkmf.rb and setup.rb.

I've gotten the sense that mkmf.rb may still be used, but
that setup.rb may have been replaced by some more powerful
rake-based automatic gem building solution?

Anyway, any tips, hints, or links would be appreciated!


Thanks,

Bill
 
A

Aaron Patterson

Greetings,

I've been a little slow to hitch onto the 'gem' and 'rake'
train, but I'm creating a new ruby C extension I'd like to
release as a gem.

The tools I'm familiar with are mkmf.rb and setup.rb.

I've gotten the sense that mkmf.rb may still be used, but
that setup.rb may have been replaced by some more powerful
rake-based automatic gem building solution?

Anyway, any tips, hints, or links would be appreciated!

Check out hoe! It lets you create rake files which will build your
gems, post to rubyforge, and other fun stuff. Just make sure you've got
an extconf.rb in your ext directory.

http://seattlerb.rubyforge.org/hoe/

If you want to see a working example, my icanhasaudio gem is a native
extension that uses hoe.
 

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,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top