作者: 藤岡和夫
日時: 2009/4/03(21:51)
On Fri, 03 Apr 2009 21:34:32 +0900
藤岡和夫 <kazuf@...> wrote:

> C:\Scripts\Ruby\tenderlove-nokogiri>c:\ruby-1.9.1\bin\rake
> (in C:/Scripts/Ruby/tenderlove-nokogiri)
> ** CHANGELOG.rdoc is missing or in the wrong format for auto-intuiting.
>    run `sow blah` and look at its text files

ついでにやってみた^^;)

C:\Scripts\Ruby\tenderlove-nokogiri>c:\ruby-1.9.1\bin\sow blah
cp -r C:/Ruby-1.8/lib/ruby/gems/1.8/gems/hoe-1.12.1/template C:/Documents and Se
ttings/藤岡和夫/.hoe_template
chmod 644 C:/Documents and Settings/藤岡和夫/.hoe_template/bin/file_name.erb C:/
Documents and Settings/藤岡和夫/.hoe_template/History.txt.erb C:/Documents and S
ettings/藤岡和夫/.hoe_template/lib/file_name.rb.erb C:/Documents and Settings/藤
岡和夫/.hoe_template/Manifest.txt.erb C:/Documents and Settings/藤岡和夫/.hoe_te
mplate/Rakefile.erb C:/Documents and Settings/藤岡和夫/.hoe_template/README.txt.
erb C:/Documents and Settings/藤岡和夫/.hoe_template/test/test_file_name.rb.erb
C:/Documents and Settings/藤岡和夫/.hoe_template/.autotest.erb
chmod 755 C:/Documents and Settings/藤岡和夫/.hoe_template/bin/file_name.erb
cp -r C:/Documents and Settings/藤岡和夫/.hoe_template blah
erb: .autotest.erb
erb: History.txt.erb
erb: Manifest.txt.erb
erb: README.txt.erb
erb: Rakefile.erb
erb: bin/file_name.erb
erb: lib/file_name.rb.erb
erb: test/test_file_name.rb.erb
mv .autotest.erb .autotest
mv History.txt.erb History.txt
mv Manifest.txt.erb Manifest.txt
mv README.txt.erb README.txt
mv Rakefile.erb Rakefile
mv bin/file_name.erb bin/blah
mv lib/file_name.rb.erb lib/blah.rb
mv test/test_file_name.rb.erb test/test_blah.rb

... done, now go fix all occurrences of 'FIX':
blah\Rakefile:9:  # p.developer('FIX', 'FIX@...')
blah\README.txt:3:* FIX (url)
blah\README.txt:7:FIX (describe your package)
blah\README.txt:11:* FIX (list of features or problems)
blah\README.txt:15:  FIX (code sample of usage)
blah\README.txt:19:* FIX (list of requirements)
blah\README.txt:23:* FIX (sudo gem install, anything else)
blah\README.txt:29:Copyright (c) 2009 FIX

 ・・・

藤岡 和夫
kazuf@...
日曜プログラマのひとりごと http://homepage1.nifty.com/kazuf/renewal.html