~/talk

The Anatomy of a Ruby Gem: Going From Zero to Sharing Code

Talkat RubyConf 2018 · 2018-11-28..11-30· [ruby]
slides:none on file

Explains exactly what a gem is and how to ship one: gems are gzipped Ruby file bundles with a gemspec that lists name version files dependencies and require_paths, a load‑path tweak to read the version constant, and an entry file under lib that RubyGems/Bundler activates. Demonstrates Bundler scaffolding (Ruby 2.5.1, Bundler 1.16.5), bin/console for live testing, RSpec and Travis CI stubs, rake tasks to build install and release, and publishing to RubyGems.org after credential setup, using an example gem Rb21 (Game of 21).

AI-written summary · about

  1. 0:00Intro
  2. 1:00Agenda
  3. 2:17Gym Install
  4. 7:32Gym Spec
  5. 11:31Jim
  6. 14:54Making a Gym
  7. 17:06Building a Gem
  8. 18:51Building a Ruby Gem
  9. 24:16Setting Credentials
  10. 26:43Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.