Dir.foreach( '/' ) do |file|
if File.directory?( file )
puts( File.directory?( file ).to_s( ) + " " + file );
end
end

で、. と .. しか出ないのはなぜですか?