Question

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", but a relevant developer guide or resource on the topic (distributed programming with Ruby and so on).

I expect if someone have good reference material ??

Thanks in advance.

Was it helpful?

Solution

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:

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

OTHER TIPS

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.

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

There is also a book

Build a ruby gem

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top