The goal of this workshop is to learn how to bind C libraries into Ruby land. At the workshop, we will create an image processing library.
- A UNIX based System (Linux or OS X)
- A compiler:
- On OS X, install Xcode and the Command Line Interface (see this guide)
- On Linux, use your package manager to install
build-essentials
.
- Ruby installed from source (you're good if you use
RVM
orrbenv
) - GraphicsMagick
- On OS X, use Homebrew to install it:
brew install graphicsmagick
- On Linux, use your package manager to install graphicsmagick. Don't forget the development libraries too.
- On OS X, use Homebrew to install it:
git clone [email protected]:andremedeiros/rubyconf.git
cd rubyconf
bundle
rake
pkg-config GraphicsMagickWand --libs
If you get no errors running these commands you're ready to go. If not, get in touch with me before the conference at @superdealloc so that we can get you ready to go!
None whatsoever. We'll cover some C basics for those who don't know the language along the way.