From: Dr Nic Date: 2006-10-11T20:23:24+09:00 Subject: [ANN] newgem - Create gems for your libraries and apps Now you can take any library or Rails plugin or command line application, gemify it, and easily share it with the Ruby world. With gems you get in-built version support (you can specify which version of a gem you want when you use it via the require_gem method), an encapsulated, consistent folder structure for your bin/lib/test folders, and you get cross-platform support for bin apps. Too much niftiness to ignore, really. The New Gem Generator is like the rails command for rails applications, but it creates the folders and starting files for a new gem. It’s called newgem. Installation > gem install newgem Create new gem > newgem map_by_method creating: map_by_method creating: map_by_method/CHANGELOG creating: map_by_method/README creating: map_by_method/lib creating: map_by_method/lib/map_by_method creating: map_by_method/lib/map_by_method.rb creating: map_by_method/lib/map_by_method/version.rb creating: map_by_method/Rakefile creating: map_by_method/test creating: map_by_method/test/all_tests.rb creating: map_by_method/test/test_helper.rb creating: map_by_method/test/map_by_method_test.rb creating: map_by_method/examples creating: map_by_method/bin And away you go. The rest of the tutorial and comments are at: http://drnicwilliams.com/2006/10/11/generating-new-gems/ I hope this encourages you to share more code with others (both outside and inside your own workplace). Nic -- Posted via http://www.ruby-forum.com/.