What are the steps needed to create and publish a rubygem of your own?

后端 未结 6 829
攒了一身酷
攒了一身酷 2021-01-01 18:46

So you\'ve created a ruby library.

How do you create and publish your rubygem? And what common pitfalls and gotchas are there pertaining to creating and publishing r

6条回答
  •  生来不讨喜
    2021-01-01 19:02

    I actually wrote a tutorial on exactly this, and I wrote it as I was learning. It's more focused on the game I'd written than a library. Also, it assumes you want to build the gem via rake rather than on your own:

    • Part 1 on how to create the gem.
    • Part 2 on how to run binaries installed by your gem, and get to resources.

提交回复
热议问题