sproutcore/docs

can't use on windows

Opened this issue · 2 comments

Hi i try to test sc--docs on a windows environnement.
i install ruby 1.9.2 then sproutcore then sc-docs

when i want to launch it, in preview or generate mode, i always see :
C:/Ruby192/lib/ruby/gems/1.9.1/gems/sc-docs-0.0.3/lib/sc_docs/generator.rb:55:in
``': Exec format error - C:/Ruby192/lib/ruby/gems/1.9.1/gems/sc-docs-0.0.3/vend
or/jsdoc/app/run.js -a -v -r=20 -t="C:/Ruby192/lib/ruby/gems/1.9.1/gems/sc-docs-
0.0.3/lib/sc_docs/templates/sc_fixture" "[...]" -f=class.js -l=Docs.Class (
Errno::ENOEXEC)

i have editing generator.rb to change line 55
from :
verbose ? system(command) : #{command}
to
verbose ? system(command) : "#{command}"

so no more error, but nothing was documented i only see search field. sames if i try to document the sproutcore framework directory.

Have you an idea ?

Please can someone have a look to get sc-docs working on windows XP.

Thanks