I have a question on maintaining code.
While coding several scripts and a couple of libraries, I developed some 
snippets I keep using over and over. Things like a parseCommandline 
method with the standard switches I normally use to be extended for each 
script, a couple of methods that I always use to initialize Logger, 
stuff like that.
Mostly these form part of my idiomatic use of Ruby and I keep improving 
on them as I learn, so it makes sense to keep them separate as a library 
and version them for my own sake, but they do not form a releaseable 
library - everyone has his favorite idiom.
Now, as I said, I use these snippets everywhere, so obviously when I 
want to release something I need to include the "private" library.
Up until now, I was lumping all this code in a file together with the 
script/library that was the main subject.
What would be the best way to maintain the snippet code and use it all over?
I tend towards the solution of grabing the latest version of my 
"private" lib out of my repository and building a gem for the actual 
'product' then distribute that.
Local development requires that I install my snippet lib as a gem or in 
ruby/lib in my development box, but I can live with that (it forces me 
to play nice with versions too).
Any other ideas?
V.-

____________________________________________________________________
http://www.freemail.gr - δωρεάν υπηρεσία ηλεκτρονικού ταχυδρομείου.
http://www.freemail.gr - free email service for the Greek-speaking.