Course info
Sep 4, 2020
2h 10m
Your 10-day individual free trial includes:

Expert-led courses

Keep up with the pace of change with thousands of expert-led, in-depth courses.

How do you share your Ruby code across multiple Ruby applications while maintaining and managing the code in one central place? In this course, Packaging Ruby Code with RubyGems, you’ll learn how to share your Ruby Code using RubyGems. First, you’ll explore what RubyGems are. Next, you’ll discover how to package your own code into a RubyGem. Finally, you’ll learn how to publish your RubyGem for internal or external consumption. When you’re finished with this course, you’ll have the skills and knowledge of RubyGems needed to share your Ruby code consistently and reliably across your applications.

About the author
About the author

Rag Dhiman is an experienced programmer who enjoys finding clean and expandable solutions to technological problems. He is MCPD and MCTS certified and a keen independent iOS developer with many Apps on the App Store.

More from the author
Azure Arc Enabled SQL Server: First Look
1h 23m
Jul 14, 2021
Unit Testing with Ruby
3h 2m
Jan 15, 2021
More courses by Rag Dhiman
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Rag Dhiman, and welcome to my course titled Packaging Ruby Code with RubyGems. I've been developing and architecting software at a commercial level for well over 15 years, and along this time, I've seen many ways of packaging code for reuse across applications to both avoid duplicating functionality and duplicating code unnecessarily, duplication which makes long‑term code maintenance a challenge. And over the years, we have seen for Ruby‑based applications, RubyGems are by far the most reliable and used way of packaging your Ruby code. The RubyGems format has become the de facto standard when it comes to packaging your Ruby code. Packaging your Ruby code using the RubyGem format has many advantages. Code reuse and avoiding different versions of the same code are a given, but also having the ability to centrally manage specific functionalities, almost like independent applications that plug into any one of your other Ruby applications also needs to be emphasized. When we say RubyGems allow you to centrally manage functionalities, we mean dedicated source control repositories for your packaged code and the ability to release and maintain version controlled enhancements in one central place These source control gems also allow packaged code to have their own continuous integration and continuous delivery pipelines, which ensures your packaged code is on par with all your other fully blown Ruby applications when it comes to quality and reliability. The good news is that this Ruby code packaging format, along with the tools that support it, is already included as part of your Ruby development environment. And not only do the tools give you the ability to use third‑party RubyGems, but the tools also allow you to create your own RubyGems by taking your code and packaging them into gems that can be shared either privately or publicly. This course teaches you how to package your Ruby code with RubyGems using a real‑life example that provides a realistic scenario of functionality that needs to be repeated across different Ruby applications. So by the end of this course, you'll be fully skilled up in packaging your Ruby code using the RubyGem format and toolset. Before beginning this course, you should already be familiar with Ruby programming and Ruby application development. So I hope you'll join me on this journey to learn how to package your Ruby code with RubyGems with this course at Pluralsight.