Leo -- wrote:
> Hello!
> 
> I'm trying to add packaging to my rakefile. I copied the example code 
> from http://rake.rubyforge.org/classes/Rake/PackageTask.html, that's it:
> 
> require 'rake/packagetask'
> 
> Rake::PackageTask.new("rake", "1.2.3") do |p|
>     p.need_tar = true
>     p.package_files.include("lib/**/*.rb")
> end
> 
> but when I run rake --tasks, there are still no tasks related to 
> packaging. I googled for a while and I can't solve this puzzle. Please 
> help.

With your rake file, I get:

  $ rake --tasks
  (in C:/Documents and Settings/BA2828/My Documents/pgm/ruby/pkgtask)
  rake clobber_package  # Remove package products
  rake package          # Build all the packages
  rake repackage        # Force a rebuild of the package files

--
-- Jim Weirich

-- 
Posted via http://www.ruby-forum.com/.