Have you looked at Jeweler ? http://technicalpickles.com/posts/craft-the-perfect-gem-with-jeweler/
On Dec 13, 5:14 am, phil <[email protected]> wrote: > Are there any good docs / blogs / websites about writing gems? We are > trying to take a bit of code and put it into a gem but just can't find > documentation on the specifics of writing one! > > For instance - > 1 - How can we have a different dependencies based on platform? > > 2 - How do we reference other files? Is there a variable (like > RAILS_ROOT) that will tell us where we are located? We have a line > like this: require 'lib/mc_client_osx.rb' but it can't find that file > (obviously) as it doesn't know where to look. > > Any pointers to docs or blogs (or answers!) would be greatly > appreciated. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

