Example of gem that combines Ruby with a C native extension.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install foo
This gem is a do-nothing skeleton, built starting from
$ bundle gem foo
and then continued by adding support for native extensions in C.
Its purpose is to be a reference or starting point for other gems with both Ruby and C code.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request