R
R.. Kumar
Let's say I have some common code, I use in various scripts or ruby
apps. I've got it in a common folder which I've put in my RUBYLIB
environment variable.
In the old days (Java), I'd put this in (say) commons.jar, and
distribute such jars with my apps. Now if i decide to put these apps on
github or create gems, how would i distribute the common code.
1. Should I keep copies with each app (more maintenance)
2. Should i create a common gem ?
3. Include these files in the gemspec (pointing to a folder outside the
tree)
thx.
apps. I've got it in a common folder which I've put in my RUBYLIB
environment variable.
In the old days (Java), I'd put this in (say) commons.jar, and
distribute such jars with my apps. Now if i decide to put these apps on
github or create gems, how would i distribute the common code.
1. Should I keep copies with each app (more maintenance)
2. Should i create a common gem ?
3. Include these files in the gemspec (pointing to a folder outside the
tree)
thx.