You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Carlos Santana (JIRA)" <ji...@apache.org> on 2013/10/17 00:06:41 UTC

[jira] [Closed] (CB-4126) Can't generate cordova-docs

     [ https://issues.apache.org/jira/browse/CB-4126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Santana closed CB-4126.
------------------------------

    Resolution: Fixed

working now

> Can't generate cordova-docs
> ---------------------------
>
>                 Key: CB-4126
>                 URL: https://issues.apache.org/jira/browse/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
> /Users/csantana23/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `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 assignment
>     @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 `require'
> 	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 was sent by Atlassian JIRA
(v6.1#6144)