how to create gem

hi friends, i need help on creating a gem. Am following the Dr. Nic tutorial "http://drnicwilliams.com/2006/10/11/generating-new-gems/#newgem_remote"

i started with installation of the new gem

step 1)---> gem install newgem

step 2)---> newgem <gem name> here it creates the folder successfully with the name i gave, n it allows the manipulation which is required by me.

here comes my problem??? step 3)---> rake package while creating a gem with the "rake package command", I came across an error saying "could'nt find HOME environment --expanding '~/hoerc'" which is followed by number of error lines.....

c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.4.0/lib/hoe.rb:327:in 'expand_path' c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.4.0/lib/hoe.rb:327:in 'with_config' c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.4.0/lib/hoe.rb:363:in 'define_tasks' c:/ruby/lib/ruby/gems/1.8/gems/hoe-1.4.0/lib/hoe.rb:322:in 'initialize' ./config/hoe.rb:50:in 'new'

please tell me where iam going wrong!!!!!!!!!!!!!!!!!