cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Santana (JIRA)" <>
Subject [jira] [Created] (CB-4126) Can't generate cordova-docs
Date Mon, 08 Jul 2013 23:03:49 GMT
Carlos Santana created CB-4126:

             Summary: Can't generate cordova-docs
                 Key: CB-4126
             Project: Apache Cordova
          Issue Type: Bug
          Components: Docs
    Affects Versions: Master
         Environment: Mac
            Reporter: Carlos Santana
            Assignee: Michael Brooks
            Priority: Minor

follow instructions and install dependencies
Try with ruby 1.9.2 and 1.9.3 (via rvm)

Here is the error output

cordova-docs:(master)$ ./bin/generate --edge
`require': /Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/cordova/jodoc.rb:28:
syntax error, unexpected tCONSTANT, expecting ']' (SyntaxError)
    @template_directories = [ File.join TEMPLATE_PATH, 'default' ]
/Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/cordova/jodoc.rb:28: dynamic constant
    @template_directories = [ File.join TEMPLATE_PATH, 'default' ]
/Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/cordova/jodoc.rb:28: syntax error,
unexpected ']', expecting tCOLON2 or '[' or '.'
	from /Users/csantana23/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
	from /Users/csantana23/Documents/SWG/git/apache/cordova-docs/lib/docs_generator.rb:26:in
`<top (required)>'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from <internal:lib/rubygems/custom_require>:29:in `require'
	from ./bin/generate:22:in `<main>'

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message