From: Eric Hodel Date: 2008-07-03T09:53:58+09:00 Subject: Re: Worthwhile to build a gem? On Jul 2, 2008, at 14:14 PM, Greg Willits wrote: > I have a project where a number of internally-developed Ruby libraries > will need to be installed on numerous machines. Small apps will then > be > written using this set of libraries almost like a framework really. > > Is it worth considering building a gem out of this library and > running a > private gem server in order to manage these libraries? The alternative > would be to maintain working copies (maybe in site_ruby?) from an svn > server -- much like you'd typically maintain a Rails app on servers. > > This site seems to to be very out of date http://docs.rubygems.org/ > based on the version numbers and self-proclaimed recent updates page. > > This page http://docs.rubygems.org/read/chapter/5 says to see the > DevelopersGuide, but I can't find such a critter anywhere, so where is > there current info available on building gems? Rake::GemPackageTask is probably what you'll find easiest for this: Rake::PackageTask.new("package") do |p| p.name = PKG_NAME # string p.version = PKG_VERSION # string p.package_files = PKG_FILES # array end