https://github.com/arangamani/hola
A simple project to create Rubygems with C extensions
https://github.com/arangamani/hola
Last synced: 4 months ago
JSON representation
A simple project to create Rubygems with C extensions
- Host: GitHub
- URL: https://github.com/arangamani/hola
- Owner: arangamani
- Created: 2013-03-12T01:40:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-12T01:53:45.000Z (over 12 years ago)
- Last Synced: 2025-02-25T08:15:26.998Z (8 months ago)
- Language: Ruby
- Homepage: http://guides.rubygems.org/c-extensions/
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!"
```