Publish Your Skill for Others as a Ruby Gem
When your skill is ready, you may want to share it with others. To properly deploy your gem and share it with others, you’ll perform the following steps:
-
Create a new GitHub repository to match your gem’s name—in this case, lita-doubler.
-
Register the remote repository URL with your local git repository via git remote add.
-
Push your skill’s source code to GitHub with git push.
-
Register your newly populated repository with Travis CI for automatic test builds.
-
Publish your working gem to RubyGems with rake release.
Before publication, you need to get the code on GitHub so you can hook up the other services.
Set up a repository for the gem on GitHub
By now, you should already have a GitHub account. After ...
Get Build Chatbot Interactions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.