Hi James,
I noticed a problem with the sidebar_maker.rb script.
C:\ruby\src\ruby-docbar_0.1.0>ruby sidebar_maker.rb
Creating C:/ruby/src/ruby-docbar_0.1.0/docbar if needed ...
Calling rm -rf C:/ruby/src/ruby-docbar_0.1.0/docbar/*.*
sidebar_maker.rb:119:in ``': No such file or directory - rm -rf C:/ruby/src/ruby
-docbar_0.1.0/docbar/*.* (Errno::ENOENT)
from sidebar_maker.rb:119:in `clear'
from sidebar_maker.rb:137
I believe the equivalent to 'rm -rf' on Windows is 'del /S /F'
This seemed to work:
def clear dir
puts( "Calling rm -rf #{dir}/*.*" )
if File::ALT_SEPARATOR
puts `del /S /F #{dir}`
else
puts `rm -rf #{dir}/*.*`
end
end
Regards,
Dan |