[Rake-devel] Gem task fails to register in 'rake -T' output

Gavin Sinclair gsinclair at soyabean.com.au
Thu Dec 4 21:06:23 EST 2003

Notice in the output below that 'gem' does not appear as a task, but
'rake gem' is accepted and does what it should.


$ rake -T
(in /home/gavin/Projects/rake)
rake clean            # Remove any temporary products.
rake clobber          # Remove any generated file.
rake clobber_package  # Remove package products
rake clobber_rdoc     # Remove rdoc products
rake contrib_test     # Run tests for contrib_test
rake default          # Default Task
rake install          # Install the application
rake lines            # Count lines in the main rake file
rake package          # Build all the packages
rake publish          # Publish the Documentation to RubyForge.
rake rdoc             # Build the rdoc HTML Files
rake repackage        # Force a rebuild of the package files
rake rerdoc           # Force a rebuild of the RDOC files
rake test             # Run tests
rake testall          # Run all test targets

$ rake gem
(in /home/gavin/Projects/rake)
mkdir -p pkg
  Successfully built RubyGem
  Name: rake
  Version: 0.3.1
  File: rake-0.3.1.gem

More information about the Rake-devel mailing list