Skip to main content

Creating Our Own Gems

  • Chapter
Practical Ruby Gems
  • 683 Accesses

Abstract

In this chapter, you’ll learn how to create your own RubyGems. This can be useful for a variety of reasons: It gives you access to the gem-dependency system, it helps reusability between multiple programs, and more. For example, suppose you ran an ecommerce site that sold CDs, and the custom code you wrote to calculate shipping costs was used by several in-house programs; you could package the code as a gem, and then you could reuse it easily among the different programs.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2007 David Berube

About this chapter

Cite this chapter

(2007). Creating Our Own Gems. In: Practical Ruby Gems. Apress. https://doi.org/10.1007/978-1-4302-0193-9_34

Download citation

Publish with us

Policies and ethics