In depth Ruby Gem development resources (book, video, sites)

前端 未结 6 1898
甜味超标
甜味超标 2021-02-11 08:31

I\'m writing my first Gem for a Rails project, and looking for in depth information about this topic i have found nothing at all.

I\'m not looking \"how to build a gem\"

相关标签:
6条回答
  • 2021-02-11 09:03

    Did you see this?

    http://docs.rubygems.org/read/book/1

    0 讨论(0)
  • 2021-02-11 09:07

    There is also a book

    Build a ruby gem

    written by Brandon Hilkert http://brandonhilkert.com/books/build-a-ruby-gem

    0 讨论(0)
  • 2021-02-11 09:19

    I'd not bother with jeweler anymore. Bundler gives you most of the tools you need including an initial gem generator command bundle gem GEMNAME (as of Bundler 1.0.0RC4) and the latest rubygems lets you gem push for publishing.

    I've also just started playing around with building my own gems, following along with the Bundler roadmap has helped me out a lot.

    Read the gemspec ref to understand what's needed of you there, and really I've just been browsing the source of lots of gems that I know are written by reputable ruby developers (ie. mongoid, bundler etc)

    Also keep in mind that distributed programming doesn't really have anything to do with Rubygems (though gems can of course facilitate that). Yes these gems are/can be shared/distributed, but the concept of 'distributed computing' is far different from this, namely sharing the data and functions of your system across multiple nodes, servers, etc... Since rubygems is just a means by which you might achieve distributed computing, you might want to re-word your question if that's what your real concern is.

    0 讨论(0)
  • 2021-02-11 09:20

    Rubygems aren't related to distributed programming.

    Can you please provide more details about what you're after, if you aren't asking a duplicate question? Related questions within Stack Overflow include:

    • Gotchas for writing rubygems
    • Ruby : How to write a gem ?
    • What are the steps needed to create and publish a rubygem of your own?
    • What is the modern way to structure a ruby gem?

    (I know this is more of a comment than an answer, but it's too big to fit in the comments section)

    0 讨论(0)
  • 2021-02-11 09:21

    Check this one as well http://guides.rubygems.org/.

    0 讨论(0)
  • 2021-02-11 09:27

    jeweler is a package helper for creating gems http://technicalpickles.com/posts/craft-the-perfect-gem-with-jeweler/

    http://github.com/technicalpickles/jeweler

    0 讨论(0)
提交回复
热议问题