Building A Gem From Scratch 4.24 http://spkr8.com/t/8181

  • Bphogan Brian Hogan 4.43

Description:

If you've ever looked into how to create Gems, you've probably seen a bunch of ways to do that. Project generators like Hoe, Jeweler, and the like offer some nice ways to get started, but they may often be overkill for many projects. If you're just starting out, why not learn to do it from scratch?

In this talk, we'll create our own gem from scratch, using only things that are provided by Ruby, its standard library, and RubyGems to craft a simple gem.

You'll learn how to set up a project, how to write and run tests, how to use Rake to quickly build the gem, and even how to create a gem that installs an executable command-line program.

Comments on this Talk

Rth_online4_tw rayhightower, 20 Aug 09:26 PM

Very clearly presented, and I'm grateful for the link to the GitHub repo as well. Whether a developer chooses to create gems from scratch or not, it's always good to know what happens behind the scenes. Brian covered this topic very well.

Have an account? Sign in or register.

Leave a Comment

12 Ratings: 4.24

Delivery: 4.38

Content: 4.09

Last Five Ratings

Time & Location

August 20, 2011 — 03:30 PM
201 State Street, Madison, WI (Map It)