Lazy Man Blog

I'm lazy enough that posting via email to this blog is perfect! 
« Back to blog

I made my first Ruby Gem! (ruby-filemagic re-implemented with FFI)

Took the old ruby-filemagic gem , last touched years ago, and made it easier to install.


What did I learn?
  1. How use ruby-ffi to make calls to native methods easy-cheesy
  2. How to make a gem by using the jeweler gem . This was also easy-cheesy.

What could be better?
  1. More tests
  2. Try it out in JRuby as FFI is supposed to make this stuff JRuby compatible.
  3. Feedback!

Have a look... here .

Update: darn, its not working. will fix and update
Update: works now

Comments (2)

Feb 02, 2009
Geoff Longman said...
gemspec is hosed. fixing...
Feb 03, 2009
Geoff Longman said...
all is well now

Leave a comment...

 
Got an account with one of these? Login here, or just enter your comment below.
Posterous-login    Connect    twitter