Hi Richard. You'll have to use another syntax highlighter ATM or build the documentation without syntax highlighting.
To do so, just modify the rake task like so: http://gist.github.com/266858 Hope this helps. Best, Tobie (Also, a patch to make pygments work on windows would be absolutely awesome!) On Jan 4, 2:50 pm, Richard Quadling <rquadl...@googlemail.com> wrote: > Hi. > > Using open4 on Windows seems to be an issue. > > (in D:/Personal Files/Downloads/Software/Programming/Javascript/prototype) > mkdir -p D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/test/unit/tmp > rm -rf D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/doc > > Parsing source files: D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/test/unit/tmp/pro > totype.temp.js. > Parsing completed in 46.735 seconds. > > Generating documentation to: D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/doc. > > rake aborted! > uninitialized constant Fcntl::F_SETFD > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/rakefile:75:in > `build_doc_for' > (See full trace by running task with --trace) > > I've added popen4 and systemu (no difference). > > With trace ... > > (in D:/Personal Files/Downloads/Software/Programming/Javascript/prototype) > ** Invoke doc (first_time) > ** Invoke doc:build (first_time) > ** Invoke doc:require (first_time) > ** Execute doc:require > ** Execute doc:build > mkdir -p D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/test/unit/tmp > rm -rf D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/doc > > Parsing source files: D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/test/unit/tmp/pro > totype.temp.js. > Parsing completed in 46.985 seconds. > > Generating documentation to: D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/doc. > > rake aborted! > uninitialized constant Fcntl::F_SETFD > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing' > C:/Ruby/lib/ruby/gems/1.8/gems/open4-1.0.1/lib/open4.rb:20:in `popen4' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/. > ./vendor/albino.rb:64:in > `execute' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/. > ./vendor/albino.rb:74:in > `colorize' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/syntax_highlighter.rb:33:in > `highlight_block' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/syntax_highlighter.rb:17:in > `parse' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/syntax_highlighter.rb:14:in > `gsub' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/syntax_highlighter.rb:14:in > `parse' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/helpers.rb:24:in > `htmlize' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/website.rb:154:in > `index_page_content' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/website.rb:75:in > `render_index' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/generators/html/website.rb:62:in > `render' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/runner.rb:36:in > `render' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc/runner.rb:43:in > `run' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/vendor/pdoc/lib/p > doc.rb:21:in > `run' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/rakefile:75:in > `build_doc_for' > D:/Personal > Files/Downloads/Software/Programming/Javascript/prototype/rakefile:163 > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in > `invoke_with_call_chain' > C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in > `invoke_with_call_chain' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in > `invoke_prerequisites' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in > `invoke_prerequisites' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in > `invoke_with_call_chain' > C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in > `invoke_with_call_chain' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in > `standard_exception_handling' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in > `standard_exception_handling' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run' > C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 > C:/ruby/bin/rake:19:in `load' > C:/ruby/bin/rake:19 > > -- > ----- > Richard Quadling > "Standing on the shoulders of some very clever giants!" > EE :http://www.experts-exchange.com/M_248814.html > Zend Certified Engineer :http://zend.com/zce.php?c=ZEND002498&r=213474731 > ZOPA :http://uk.zopa.com/member/RQuadling > > Ruby trace.log > 6KViewDownload -- You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en