Ruby Native Extensions in C, starter gem "foo"
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ext/foo
lib
spec
.gitignore
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
foo.gemspec

README.md

Foo

Build Status

Example of gem that combines Ruby with a C native extension.

Installation

Add this line to your application's Gemfile:

gem 'foo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install foo

Usage

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.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request