Ruby gem with C extension

Last week I built my first Ruby gem with a C extension. It lets you
display the temperature for your computer’s CPU and some info about the
fan. The gem is a Ruby wrapper for a small C library that interacts with
Apple’s IOKit library. If you are interested in looking at a simple
source code that adds C modules to Ruby take a look. I’ll write a blog
post soon and update this post with a link.



It’s very interesting, I’ll take a look your source.


I just updated the gem to also display battery information. Gives you
access to the overall health (from Apple’s diagnostic tools) and cycle

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs