On Jul 11, 2007, at 14:11 , Wayne E. Seguin wrote: >> class Blah >> VERSION = "1.2.3" >> # ... >> end >> >> === Rakefile >> >> require 'rubygems' >> require 'hoe' >> >> require './lib/blah.rb' >> >> Hoe.new("Blah", Blah::VERSION) do |p| # this builds the gemspec >> and defines a lot of commands >> # ... >> end > > If you don't mind requiring Hoe then this is an excellent approach > to use. Huh? Even without hoe the point and the example still stand.