Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arangamani/hola

A simple project to create Rubygems with C extensions
https://github.com/arangamani/hola

Last synced: about 2 months ago
JSON representation

A simple project to create Rubygems with C extensions

Awesome Lists containing this project

README

        

Hola
====

A simple Ruby project to demonstrate implementing C extensions. This project
was done by following the steps provided [here](http://guides.rubygems.org/c-extensions/).

To build this rubygem
---------------------

```
git clone git://github.com/arangamani/hola.git
```

```
cd hola
```

```
gem build hola.gemspec
```

```
gem install hola-.gem
```
and that's it! The gem is built from native extensions. Test it out by

```
irb> require "rubygems"
irb> require "hola"
irb> Hola.bonjour
=> "bonjour, Kannan!"
```