URUG October 2020 - Creating a Ruby gem

What is a Ruby gem?

https://guides.rubygems.org/what-is-a-gem/

A ruby gem is a (usually small) program that is distributed by the RubyGems library built into the ruby language.

There are a few categories of gems:

  • CLI - stripe-cli
  • Application enhancement - pg
  • Run processes - sidekiq

Initial Creation

  • bundler
  • change in gemspec - authors, email, summary, description, homepage, source_code_uri, changelog_uri

Configuration

  • letter opener

Dependencies

  • gemspec

Testing

  • minispec

Questions

You are more than welcome to contact me with questions in the URUG slack, or email me directly at tim@railsgarage.com